MediaWiki REL1_35
|
Stable to implement. More...
Public Member Functions | |
onUnblockUser ( $block, $user, &$reason) | |
This hook is called before an IP address or user is unblocked. | |
Stable to implement.
Definition at line 12 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.