MediaWiki  master
PrefsEmailAuditHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Hook;
4 
5 use User;
6 
25  public function onPrefsEmailAudit( $user, $oldaddr, $newaddr );
26 }
MediaWiki\Hook
Definition: ActionBeforeFormDisplayHook.php:3
MediaWiki\Hook\PrefsEmailAuditHook
This is a hook handler interface, see docs/Hooks.md.
Definition: PrefsEmailAuditHook.php:14
MediaWiki\Hook\PrefsEmailAuditHook\onPrefsEmailAudit
onPrefsEmailAudit( $user, $oldaddr, $newaddr)
This hook is called when user changes their email address.
User
The User object encapsulates all of the user-specific settings (user_id, name, rights,...
Definition: User.php:56