Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4083983
UnblockUserHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
801 B
Referenced Files
None
Subscribers
None
UnblockUserHook.php
View Options
<?php
namespace
MediaWiki\Hook
;
use
MediaWiki\Block\DatabaseBlock
;
use
MediaWiki\User\User
;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "UnblockUser" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface
UnblockUserHook
{
/**
* This hook is called before an IP address or user is unblocked.
*
* @since 1.35
*
* @param DatabaseBlock $block The Block object about to be saved
* @param User $user The user performing the unblock (not the one being unblocked)
* @param array &$reason If the hook is aborted, the error message to be returned in an array
* @return bool|void True or no return value to continue or false to abort
*/
public
function
onUnblockUser
(
$block
,
$user
,
&
$reason
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Aug 18 2026, 07:29 (7 w, 1 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
99/72/d34816b1b2b304e224740997d602
Default Alt Text
UnblockUserHook.php (801 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment