From: Aryeh Gregor Date: Wed, 28 Jan 2009 16:46:13 +0000 (+0000) Subject: Remove unused variables X-Git-Tag: 1.31.0-rc.0~43178 X-Git-Url: http://git.cyclocoop.org/%27.%28%24current%20%3E%202?a=commitdiff_plain;h=e0962676f101363fed0a4e0017e3728dbd1d167a;p=lhc%2Fweb%2Fwiklou.git Remove unused variables This code seriously needs cleaning up. --- diff --git a/includes/specials/SpecialWatchlist.php b/includes/specials/SpecialWatchlist.php index 4313f87c8f..6075dd1925 100644 --- a/includes/specials/SpecialWatchlist.php +++ b/includes/specials/SpecialWatchlist.php @@ -96,7 +96,7 @@ function wfSpecialWatchlist( $par ) { } $dbr = wfGetDB( DB_SLAVE, 'watchlist' ); - list( $page, $watchlist, $recentchanges ) = $dbr->tableNamesN( 'page', 'watchlist', 'recentchanges' ); + $recentchanges = $dbr->tableName( 'recentchanges' ); $watchlistCount = $dbr->selectField( 'watchlist', 'COUNT(*)', array( 'wl_user' => $uid ), __METHOD__ );