MediaWiki REL1_40
|
Backend class for unblocking users. More...
Public Member Functions | |
__construct (BlockPermissionCheckerFactory $blockPermissionCheckerFactory, DatabaseBlockStore $blockStore, BlockUtils $blockUtils, UserFactory $userFactory, HookContainer $hookContainer, $target, Authority $performer, string $reason, array $tags=[]) | |
unblock () | |
Unblock user. | |
unblockUnsafe () | |
Unblock user without any sort of permission checks. | |
MediaWiki\Block\UnblockUser::__construct | ( | BlockPermissionCheckerFactory | $blockPermissionCheckerFactory, |
DatabaseBlockStore | $blockStore, | ||
BlockUtils | $blockUtils, | ||
UserFactory | $userFactory, | ||
HookContainer | $hookContainer, | ||
$target, | |||
Authority | $performer, | ||
string | $reason, | ||
array | $tags = [] ) |
BlockPermissionCheckerFactory | $blockPermissionCheckerFactory | |
DatabaseBlockStore | $blockStore | |
BlockUtils | $blockUtils | |
UserFactory | $userFactory | |
HookContainer | $hookContainer | |
UserIdentity | string | $target | |
Authority | $performer | |
string | $reason | |
string[] | $tags |
Definition at line 85 of file UnblockUser.php.
References MediaWiki\Block\BlockPermissionCheckerFactory\newBlockPermissionChecker(), MediaWiki\Block\DatabaseBlock\newFromTarget(), and MediaWiki\Block\Block\TYPE_AUTO.
MediaWiki\Block\UnblockUser::unblock | ( | ) |
Unblock user.
Definition at line 127 of file UnblockUser.php.
References StatusValue\fatal().
MediaWiki\Block\UnblockUser::unblockUnsafe | ( | ) |
Unblock user without any sort of permission checks.
Definition at line 163 of file UnblockUser.php.
References StatusValue\fatal().