From: Aaron Schulz Date: Tue, 13 May 2008 13:24:52 +0000 (+0000) Subject: Remove unused tableNamesN() call X-Git-Tag: 1.31.0-rc.0~47669 X-Git-Url: http://git.cyclocoop.org/%22.%24h.%22?a=commitdiff_plain;h=46360f6f1245add109f0335f0e02ab5ce9e003b9;p=lhc%2Fweb%2Fwiklou.git Remove unused tableNamesN() call --- diff --git a/includes/SpecialRecentchanges.php b/includes/SpecialRecentchanges.php index 70f5b1c5fa..32cf97200e 100644 --- a/includes/SpecialRecentchanges.php +++ b/includes/SpecialRecentchanges.php @@ -102,11 +102,8 @@ function wfSpecialRecentchanges( $par, $specialPage ) { if ( $limit < 0 || $limit > 5000 ) $limit = $defaults['limit']; - # Database connection and caching $dbr = wfGetDB( DB_SLAVE ); - list( $recentchanges, $watchlist ) = $dbr->tableNamesN( 'recentchanges', 'watchlist' ); - $cutoff_unixtime = time() - ( $days * 86400 ); $cutoff_unixtime = $cutoff_unixtime - ($cutoff_unixtime % 86400);