MediaWiki master
MediaWiki\Hook\PrefsEmailAuditHook Interface Reference

This is a hook handler interface, see docs/Hooks.md. More...

Inherited by MediaWiki\HookContainer\HookRunner.

Public Member Functions

 onPrefsEmailAudit ( $user, $oldaddr, $newaddr)
 This hook is called when user changes their email address.
 

Detailed Description

This is a hook handler interface, see docs/Hooks.md.

Use the hook name "PrefsEmailAudit" to register handlers implementing this interface.

Stability: stable
to implement

Definition at line 14 of file PrefsEmailAuditHook.php.

Member Function Documentation

◆ onPrefsEmailAudit()

MediaWiki\Hook\PrefsEmailAuditHook::onPrefsEmailAudit ( $user,
$oldaddr,
$newaddr )

This hook is called when user changes their email address.

Since
1.35
Parameters
User$userUser (object) changing his email address
string$oldaddrold email address (string)
string$newaddrnew email address (string)
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.


The documentation for this interface was generated from the following file: