Index: trunk/phase3/includes/api/ApiQueryWatchlist.php |
— | — | @@ -176,7 +176,7 @@ |
177 | 177 | $this->addWhereFld( 'rc_user_text', $params['user'] ); |
178 | 178 | } |
179 | 179 | if ( !is_null( $params['excludeuser'] ) ) { |
180 | | - $this->addWhere( 'rc_user_text != ' . $this->getDB()->addQuotes( $params['excludeuser'] ) ); |
| 180 | + $this->addWhere( 'rc_user_text != ' . $db->addQuotes( $params['excludeuser'] ) ); |
181 | 181 | } |
182 | 182 | |
183 | 183 | // This is an index optimization for mysql, as done in the Special:Watchlist page |