|
MediaWiki master
|
This is a hook handler interface, see docs/Hooks.md. More...
Inherited by MediaWiki\HookContainer\HookRunner.
Public Member Functions | |
| onUserCanChangeEmail ( $user, $oldaddr, $newaddr, &$status) | |
| This hook is called when user changes their email address. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "UserCanChangeEmail" to register handlers implementing this interface.
Definition at line 15 of file UserCanChangeEmailHook.php.
| MediaWiki\Specials\Hook\UserCanChangeEmailHook::onUserCanChangeEmail | ( | $user, | |
| $oldaddr, | |||
| $newaddr, | |||
| & | $status ) |
This hook is called when user changes their email address.
| User | $user | User (object) changing his email address |
| string | $oldaddr | old email address (string) |
| string | $newaddr | new email address (string) |
| Status | &$status | Set this and return false to override the internal checks |
Implemented in MediaWiki\HookContainer\HookRunner.