Reverting the revert, the problem was an error in the extension.
This commit is contained in:
parent
31acb3557f
commit
da46bf0109
1 changed files with 1 additions and 5 deletions
|
|
@ -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 );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue