From: Rotem Liss Date: Fri, 7 Jul 2006 11:11:43 +0000 (+0000) Subject: (bug 6358) Remove some redundant and unused variables from Special:Allpages X-Git-Tag: 1.31.0-rc.0~56370 X-Git-Url: http://git.cyclocoop.org/%40spipnet%40?a=commitdiff_plain;h=c81eb50fef0cb9d19c1e58768193eccc778ae06f;p=lhc%2Fweb%2Fwiklou.git (bug 6358) Remove some redundant and unused variables from Special:Allpages --- diff --git a/includes/SpecialAllpages.php b/includes/SpecialAllpages.php index 53a5b34887..ba8a450f9d 100644 --- a/includes/SpecialAllpages.php +++ b/includes/SpecialAllpages.php @@ -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 );