X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=blobdiff_plain;f=includes%2Fdb%2FORMTable.php;h=b6e2d526565a9b6598389a7f7c7ec46460684cff;hb=298c8b4786344faa7c8bcaf8b61ce5883f0af44a;hp=cc84d65d3b724a9bd6815993ea154c69a7621e04;hpb=dc16ea18a78a7f87bf313c6fe2af6a3605e943ec;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/db/ORMTable.php b/includes/db/ORMTable.php index cc84d65d3b..b6e2d52656 100644 --- 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 - ); + ) !== 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__ - ); + ) !== false; // DatabaseBase::update does not always return true for success as documented... } /**