*remove useless ksort() call
authorAaron Schulz <aaron@users.mediawiki.org>
Wed, 2 May 2007 17:14:13 +0000 (17:14 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Wed, 2 May 2007 17:14:13 +0000 (17:14 +0000)
includes/SpecialProtectedpages.php

index 40143e5..59a5264 100644 (file)
@@ -145,9 +145,6 @@ class ProtectedPagesForm {
                        $m[$text] = $type;
                }
 
-               // Second pass to sort by name
-               ksort($m);
-
                // Third pass generates sorted XHTML content
                foreach( $m as $text => $type ) {
                        $selected = ($type == $pr_type );