Remove an unused global

This commit is contained in:
Liangent 2010-06-08 04:34:31 +00:00
parent 12cdc370b4
commit 0991609047

View file

@ -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 );