MediaWiki REL1_35
|
Stable to implement. More...
Public Member Functions | |
onUserCanSendEmail ( $user, &$canSend) | |
Use this hook to override User::canSendEmail() permission check. | |
Stable to implement.
Definition at line 11 of file UserCanSendEmailHook.php.
MediaWiki\User\Hook\UserCanSendEmailHook::onUserCanSendEmail | ( | $user, | |
& | $canSend | ||
) |
Use this hook to override User::canSendEmail() permission check.
User | $user | User (object) whose permission is being checked |
bool | &$canSend | Set on input, can override on output |
Implemented in MediaWiki\HookContainer\HookRunner.