MediaWiki master
UserCanChangeEmailHook.php
Go to the documentation of this file.
1<?php
2
4
7
27 public function onUserCanChangeEmail( $user, $oldaddr, $newaddr, &$status );
28}
29
31class_alias( UserCanChangeEmailHook::class, 'MediaWiki\\Hook\\UserCanChangeEmailHook' );
Generic operation result class Has warning/error list, boolean status and arbitrary value.
Definition Status.php:44
User class for the MediaWiki software.
Definition User.php:130
This is a hook handler interface, see docs/Hooks.md.
onUserCanChangeEmail( $user, $oldaddr, $newaddr, &$status)
This hook is called when user changes their email address.