From: Alexandre Emsenhuber Date: Sat, 26 Jul 2008 15:51:49 +0000 (+0000) Subject: Tweak for my last commit: this variable is not used anymore X-Git-Tag: 1.31.0-rc.0~46359 X-Git-Url: http://git.cyclocoop.org/data/Fool?a=commitdiff_plain;h=50bffc5c2a68d3de994cf9934f46fb8a9ef2f8cc;p=lhc%2Fweb%2Fwiklou.git Tweak for my last commit: this variable is not used anymore --- diff --git a/includes/specials/SpecialRecentchanges.php b/includes/specials/SpecialRecentchanges.php index 331c01ad53..071854f2c7 100644 --- a/includes/specials/SpecialRecentchanges.php +++ b/includes/specials/SpecialRecentchanges.php @@ -101,7 +101,7 @@ class SpecialRecentChanges extends SpecialPage { $this->doHeader( $opts ); return; } - $dbr = wfGetDB( DB_SLAVE ); + while( $row = $res->fetchObject() ){ $rows[] = $row; if ( !$feedFormat ) {