From 46360f6f1245add109f0335f0e02ab5ce9e003b9 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Tue, 13 May 2008 13:24:52 +0000 Subject: [PATCH] Remove unused tableNamesN() call --- includes/SpecialRecentchanges.php | 3 --- 1 file changed, 3 deletions(-) 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); -- 2.20.1