dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added base class for testing ORMRow deriving classes and added a mock implementation...
[lhc/web/wiklou.git]
/
includes
/
db
/
ORMTable.php
diff --git
a/includes/db/ORMTable.php
b/includes/db/ORMTable.php
index
cc84d65
..
b6e2d52
100644
(file)
--- a/
includes/db/ORMTable.php
+++ b/
includes/db/ORMTable.php
@@
-330,7
+330,7
@@
abstract class ORMTable implements IORMTable {
$this->getName(),
$this->getPrefixedValues( $conditions ),
$functionName
$this->getName(),
$this->getPrefixedValues( $conditions ),
$functionName
- )
;
+ )
!== false; // DatabaseBase::delete does not always return true for success as documented...
}
/**
}
/**
@@
-437,7
+437,7
@@
abstract class ORMTable implements IORMTable {
$this->getPrefixedValues( $values ),
$this->getPrefixedValues( $conditions ),
__METHOD__
$this->getPrefixedValues( $values ),
$this->getPrefixedValues( $conditions ),
__METHOD__
- )
;
+ )
!== false; // DatabaseBase::update does not always return true for success as documented...
}
/**
}
/**