From: Rotem Liss Date: Sun, 16 Jul 2006 13:30:08 +0000 (+0000) Subject: Removing the division of the special pages by '', 'sysop' and 'developer', as it... X-Git-Tag: 1.31.0-rc.0~56214 X-Git-Url: http://git.cyclocoop.org//%22%22.str_replace%28%27%22%27%2C?a=commitdiff_plain;h=dbb057e400845f808a9c2445ca7a82d50010e237;p=lhc%2Fweb%2Fwiklou.git Removing the division of the special pages by '', 'sysop' and 'developer', as it's obsolete, and the pages are divided by the actual rights ('', 'delete', 'block', 'userrights', etc.). --- diff --git a/includes/SpecialPage.php b/includes/SpecialPage.php index b16af24ad2..3a52f850d3 100644 --- a/includes/SpecialPage.php +++ b/includes/SpecialPage.php @@ -287,11 +287,7 @@ class SpecialPage if ( !self::$mListInitialised ) { self::initList(); } - $pages = array( - '' => array(), - 'sysop' => array(), - 'developer' => array() - ); + $pages = array(); foreach ( self::$mList as $name => $rec ) { $page = self::getPage( $name );