From 8309d41d1c6689c0ad9dde34f2b5ca2f7a98d8e4 Mon Sep 17 00:00:00 2001 From: Rotem Liss Date: Tue, 3 Jun 2008 13:32:18 +0000 Subject: [PATCH] Code cleanup. --- includes/SpecialSpecialpages.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 +} -- 2.20.1