Remove unused tableNamesN() call
authorAaron Schulz <aaron@users.mediawiki.org>
Tue, 13 May 2008 13:24:52 +0000 (13:24 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Tue, 13 May 2008 13:24:52 +0000 (13:24 +0000)
includes/SpecialRecentchanges.php

index 70f5b1c..32cf972 100644 (file)
@@ -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);