From 6d30d2eb06833d3803ae27489c5f3e9e4b5d7760 Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Tue, 13 Sep 2011 10:59:40 +0000 Subject: [PATCH] Fix revert artefact of r96930 --- includes/db/Database.php | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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 -- 2.20.1