Reverting the revert, the problem was an error in the extension.

This commit is contained in:
Rotem Liss 2006-07-16 16:10:41 +00:00
parent 31acb3557f
commit da46bf0109

View file

@ -456,11 +456,7 @@ class SpecialPage
* special page (as defined by $mRestriction)
*/
function userCanExecute( &$user ) {
if ( $this->mRestriction == "" ) {
return true;
} else {
return $user->isAllowed( $this->mRestriction );
}
return $user->isAllowed( $this->mRestriction );
}
/**