From 09916090475cf429a05682939fadd8be43e39a40 Mon Sep 17 00:00:00 2001 From: Liangent Date: Tue, 8 Jun 2010 04:34:31 +0000 Subject: [PATCH] Remove an unused global --- TitleBlacklist.hooks.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 );