dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab28af8
)
$db is already defined, don't use $this->getDB() again
author
Sam Reed
<reedy@users.mediawiki.org>
Sun, 1 May 2011 00:17:39 +0000
(
00:17
+0000)
committer
Sam Reed
<reedy@users.mediawiki.org>
Sun, 1 May 2011 00:17:39 +0000
(
00:17
+0000)
includes/api/ApiQueryWatchlist.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiQueryWatchlist.php
b/includes/api/ApiQueryWatchlist.php
index
d7bc60b
..
fe0c180
100644
(file)
--- a/
includes/api/ApiQueryWatchlist.php
+++ b/
includes/api/ApiQueryWatchlist.php
@@
-176,7
+176,7
@@
class ApiQueryWatchlist extends ApiQueryGeneratorBase {
$this->addWhereFld( 'rc_user_text', $params['user'] );
}
if ( !is_null( $params['excludeuser'] ) ) {
- $this->addWhere( 'rc_user_text != ' . $
this->getDB()
->addQuotes( $params['excludeuser'] ) );
+ $this->addWhere( 'rc_user_text != ' . $
db
->addQuotes( $params['excludeuser'] ) );
}
// This is an index optimization for mysql, as done in the Special:Watchlist page