MediaWiki REL1_39
|
This is a hook handler interface, see docs/Hooks.md. More...
Public Member Functions | |
onBlockIpComplete ( $block, $user, $priorBlock) | |
This hook is called after an IP address or user is blocked. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "BlockIpComplete" to register handlers implementing this interface.
Definition at line 15 of file BlockIpCompleteHook.php.
MediaWiki\Hook\BlockIpCompleteHook::onBlockIpComplete | ( | $block, | |
$user, | |||
$priorBlock ) |
This hook is called after an IP address or user is blocked.
DatabaseBlock | $block | the block object that was saved |
User | $user | the user who did the block (not the one being blocked) |
?DatabaseBlock | $priorBlock | the block object for the prior block, if there was one |
Implemented in MediaWiki\HookContainer\HookRunner.