Index: trunk/extensions/Lockdown/Lockdown.php |
— | — | @@ -70,15 +70,10 @@ |
71 | 71 | $groups = null; |
72 | 72 | $ns = $title->getNamespace(); |
73 | 73 | if ( NS_SPECIAL == $ns ) { |
74 | | - if ( $action != 'read' ) { |
75 | | - $result = false; #WTF? ignored, i guess... |
76 | | - return true; |
77 | | - } else { |
78 | | - foreach ( $wgSpecialPageLockdown as $page => $g ) { |
79 | | - if ( !$title->isSpecial( $page ) ) continue; |
80 | | - $groups = $g; |
81 | | - break; |
82 | | - } |
| 74 | + foreach ( $wgSpecialPageLockdown as $page => $g ) { |
| 75 | + if ( !$title->isSpecial( $page ) ) continue; |
| 76 | + $groups = $g; |
| 77 | + break; |
83 | 78 | } |
84 | 79 | } |
85 | 80 | else { |