Index: trunk/extensions/CentralAuth/CentralAuthHooks.php |
— | — | @@ -461,7 +461,7 @@ |
462 | 462 | // Is the user blocked? |
463 | 463 | $anon = new User; |
464 | 464 | if ( !$anon->isAllowedAny( 'createaccount', 'centralauth-autoaccount' ) |
465 | | - || $this->isBlockedFromCreateAccount() ) |
| 465 | + || $anon->isBlockedFromCreateAccount() ) |
466 | 466 | { |
467 | 467 | // Blacklist the user to avoid repeated DB queries subsequently |
468 | 468 | // First load the session again in case it changed while the above DB query was in progress |