From: Rotem Liss Date: Tue, 3 Jun 2008 13:32:18 +0000 (+0000) Subject: Code cleanup. X-Git-Tag: 1.31.0-rc.0~47216 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/membres/%7Bmainpage%7D?a=commitdiff_plain;h=8309d41d1c6689c0ad9dde34f2b5ca2f7a98d8e4;p=lhc%2Fweb%2Fwiklou.git Code cleanup. --- diff --git a/includes/SpecialSpecialpages.php b/includes/SpecialSpecialpages.php index eb037107a1..ca91ad514b 100644 --- a/includes/SpecialSpecialpages.php +++ b/includes/SpecialSpecialpages.php @@ -30,7 +30,6 @@ function wfSpecialSpecialpages() { if( !isset($groups[$group]) ) { $groups[$group] = array(); } - //$groups[$group][$page->getDescription()] = $page->getTitle(); $groups[$group][$page->getDescription()] = array( $page->getTitle(), $page->isRestricted() ); } } @@ -50,7 +49,6 @@ function wfSpecialSpecialpages() { } /** Now output the HTML */ - $restrictedPages = false; foreach ( $groups as $group => $sortedPages ) { $middle = ceil( count($sortedPages)/2 ); $total = count($sortedPages); @@ -81,4 +79,4 @@ function wfSpecialSpecialpages() { wfMsgWikiHtml('specialpages-note'). Xml::closeElement('div') ); -} \ No newline at end of file +}