MediaWiki REL1_37
MediaWiki\Hook\UnblockUserCompleteHook Interface Reference

This is a hook handler interface, see docs/Hooks.md. More...

Inheritance diagram for MediaWiki\Hook\UnblockUserCompleteHook:

Public Member Functions

 onUnblockUserComplete ( $block, $user)
 This hook is called after an IP address or user has been unblocked.
 

Detailed Description

This is a hook handler interface, see docs/Hooks.md.

Use the hook name "UnblockUserComplete" to register handlers implementing this interface.

Stability: stable
to implement

Definition at line 15 of file UnblockUserCompleteHook.php.

Member Function Documentation

◆ onUnblockUserComplete()

MediaWiki\Hook\UnblockUserCompleteHook::onUnblockUserComplete (   $block,
  $user 
)

This hook is called after an IP address or user has been unblocked.

Since
1.35
Parameters
DatabaseBlock$blockThe Block object that was saved
User$userThe user who performed the unblock (not the one being unblocked)
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.


The documentation for this interface was generated from the following file: