For the maintenance/ directory files:
[lhc/web/wiklou.git] / maintenance / rebuildrecentchanges.inc
index e077da5..1f3cca7 100644 (file)
@@ -48,10 +48,7 @@ function rebuildRecentChangesTablePass1()
 function rebuildRecentChangesTablePass2()
 {
        $dbw =& wfGetDB( DB_MASTER );
-       extract( $dbw->tableNames( 'recentchanges', 'revision' ) );
-
-       $ns = $id = $count = 0;
-       $title = $ct =  "";
+       list ($recentchanges, $revision) = $dbw->tableNamesN( 'recentchanges', 'revision' );
 
        print( "Updating links...\n" );