Only list Special:CreateAccount as restricted if configured so
Bug: 67549 Change-Id: I433d825d99878f385c607346bed92b01a79d9a21
This commit is contained in:
parent
7b0a19a54d
commit
9da9183d58
1 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ class SpecialCreateAccount extends SpecialRedirectToSpecial {
|
|||
}
|
||||
|
||||
public function isRestricted() {
|
||||
return true;
|
||||
return !User::groupHasPermission( '*', 'createaccount' );
|
||||
}
|
||||
|
||||
public function userCanExecute( User $user ) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue