mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TitleBlacklist
synced 2024-11-15 10:17:49 +00:00
Remove an unused global
This commit is contained in:
parent
12cdc370b4
commit
0991609047
|
@ -85,7 +85,7 @@ class TitleBlacklistHooks {
|
|||
|
||||
/** AbortNewAccount hook */
|
||||
public static function abortNewAccount($user, &$message) {
|
||||
global $wgTitleBlacklist, $wgUser;
|
||||
global $wgUser;
|
||||
if ( $wgUser->isAllowed( 'tboverride' ) )
|
||||
return true;
|
||||
return self::acceptNewUserName( $user->getName(), $message );
|
||||
|
|
Loading…
Reference in a new issue