From 50bffc5c2a68d3de994cf9934f46fb8a9ef2f8cc Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Sat, 26 Jul 2008 15:51:49 +0000 Subject: [PATCH] Tweak for my last commit: this variable is not used anymore --- includes/specials/SpecialRecentchanges.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) { -- 2.20.1