From: Sam Reed Date: Tue, 13 Sep 2011 10:59:40 +0000 (+0000) Subject: Fix revert artefact of r96930 X-Git-Tag: 1.31.0-rc.0~27702 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/?a=commitdiff_plain;h=6d30d2eb06833d3803ae27489c5f3e9e4b5d7760;p=lhc%2Fweb%2Fwiklou.git Fix revert artefact of r96930 --- diff --git a/includes/db/Database.php b/includes/db/Database.php index 1a78a21ceb..086faaaa62 100644 --- a/includes/db/Database.php +++ b/includes/db/Database.php @@ -1754,9 +1754,6 @@ abstract class DatabaseBase implements DatabaseType { } elseif ( $value === null ) { if ( $mode == LIST_AND || $mode == LIST_OR ) { $list .= "$field IS "; - if ( $not ) { - $list .= "NOT "; - } } elseif ( $mode == LIST_SET ) { $list .= "$field = "; } @@ -2966,8 +2963,8 @@ abstract class DatabaseBase implements DatabaseType { /** * Get slave lag. Currently supported only by MySQL. * - * Note that this function will generate a fatal error on many - * installations. Most callers should use LoadBalancer::safeGetLag() + * Note that this function will generate a fatal error on many + * installations. Most callers should use LoadBalancer::safeGetLag() * instead. * * @return Database replication lag in seconds