MediaWiki REL1_37
|
This is a hook handler interface, see docs/Hooks.md. More...
Public Member Functions | |
onAddNewAccount ( $user, $byEmail) | |
This hook is called after a user account is created. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "AddNewAccount" to register handlers implementing this interface.
Definition at line 14 of file AddNewAccountHook.php.
MediaWiki\Hook\AddNewAccountHook::onAddNewAccount | ( | $user, | |
$byEmail | |||
) |
This hook is called after a user account is created.
User | $user | the User object that was created. (Parameter added in 1.7) |
bool | $byEmail | true when account was created "by email" (added in 1.12) |
Implemented in MediaWiki\HookContainer\HookRunner.