diff --git a/TitleBlacklist.hooks.php b/TitleBlacklist.hooks.php index aee451cd..3dd29c58 100644 --- a/TitleBlacklist.hooks.php +++ b/TitleBlacklist.hooks.php @@ -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 );