this global was lost in change 67347

This commit is contained in:
Neil Kandalgaonkar 2010-06-07 18:47:18 +00:00
parent c52acec944
commit 12cdc370b4

View file

@ -62,6 +62,7 @@ class TitleBlacklistHooks {
* @return bool Acceptable
*/
private static function acceptNewUserName( $userName, &$message ) {
global $wgTitleBlacklist;
efInitTitleBlacklist();
$title = Title::newFromText( $userName );
$blacklisted = $wgTitleBlacklist->isBlacklisted( $title, 'new-account' );