(bug 6358) Remove some redundant and unused variables from Special:Allpages
authorRotem Liss <rotem@users.mediawiki.org>
Fri, 7 Jul 2006 11:11:43 +0000 (11:11 +0000)
committerRotem Liss <rotem@users.mediawiki.org>
Fri, 7 Jul 2006 11:11:43 +0000 (11:11 +0000)
includes/SpecialAllpages.php

index 53a5b34..ba8a450 100644 (file)
@@ -91,10 +91,6 @@ function showToplevel ( $namespace = NS_MAIN, $including = false ) {
        # in the querycache table.
 
        $dbr =& wfGetDB( DB_SLAVE );
-       $page = $dbr->tableName( 'page' );
-       $fromwhere = "FROM $page WHERE page_namespace=$namespace";
-       $order_arr = array ( 'ORDER BY' => 'page_title' );
-       $order_str = 'ORDER BY page_title';
        $out = "";
        $where = array( 'page_namespace' => $namespace );