MediaWiki REL1_39
|
This is a hook handler interface, see docs/Hooks.md. More...
Public Member Functions | |
onUnblockUser ( $block, $user, &$reason) | |
This hook is called before an IP address or user is unblocked. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "UnblockUser" to register handlers implementing this interface.
Definition at line 15 of file UnblockUserHook.php.
MediaWiki\Hook\UnblockUserHook::onUnblockUser | ( | $block, | |
$user, | |||
& | $reason ) |
This hook is called before an IP address or user is unblocked.
DatabaseBlock | $block | The Block object about to be saved |
User | $user | The user performing the unblock (not the one being unblocked) |
array | &$reason | If the hook is aborted, the error message to be returned in an array |
Implemented in MediaWiki\HookContainer\HookRunner.