From: umherirrender Date: Sun, 12 Jun 2016 16:28:08 +0000 (+0200) Subject: Add new param of hook UserIsBlockedGlobally to docs/hooks.txt X-Git-Tag: 1.31.0-rc.0~6635^2 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/membres/fiche.php?a=commitdiff_plain;h=4bd0fb83d915227875e233f478e1d346dd7998e2;p=lhc%2Fweb%2Fwiklou.git Add new param of hook UserIsBlockedGlobally to docs/hooks.txt Follows I23d29c1a0e016de4e82d5b51afa94ae9afd70ee4 Change-Id: Ib747d66d7387455c23246cc29ab88f1383e52500 --- diff --git a/docs/hooks.txt b/docs/hooks.txt index 93f84a1b5a..8d402659c2 100644 --- a/docs/hooks.txt +++ b/docs/hooks.txt @@ -3383,6 +3383,7 @@ $title: Title of the page in question &$user: User object $ip: User's IP address &$blocked: Whether the user is blocked, to be modified by the hook +&$block: The Block object, to be modified by the hook 'UserIsEveryoneAllowed': Check if all users are allowed some user right; return false if a UserGetRights hook might remove the named right.