MediaWiki REL1_35
MediaWiki\Hook\PrefsEmailAuditHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Hook\PrefsEmailAuditHook:

Public Member Functions

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

Detailed Description

Stable to implement.

Definition at line 11 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: