(bug 38333) Check global blocks on account create
authorcsteipp <csteipp@wikimedia.org>
Fri, 20 Jul 2012 18:54:14 +0000 (11:54 -0700)
committerReedy <reedy@wikimedia.org>
Mon, 23 Jul 2012 20:17:25 +0000 (21:17 +0100)
commitd27b15901e6536bddfc20e7f2987c74be0b05363
treebe4f6ae78e5f206ba4d3bbc2f07b3d4bf5c88edc
parent2bf1a9cd8ad5f204faeaaa792a9a51899807fc59
(bug 38333) Check global blocks on account create

Before displaying an account creation form, checks against
GlobalBlocking are run, but not when the actual account is
created.

At this time, User::isBlockedFromCreateAccount() does not
run the hooks for which GlobalBlocking is registered.

Change-Id: Ieb3696bc49d6f4c4e3e95d8c55121b7ffa07b506
includes/specials/SpecialUserlogin.php