Deprecate userCan hook
Specify hard deprecation Bug: T285805 Change-Id: I2aba03865bd0719fe0b34d49b79f9fb0309158e5
This commit is contained in:
parent
5ba846fe74
commit
7b49172469
2 changed files with 2 additions and 2 deletions
|
|
@ -723,7 +723,7 @@ because of Phabricator reports.
|
|||
and ::whereUserNamePrefix()
|
||||
* Manually constructing a MovePage object, deprecated in 1.34,
|
||||
is now hard deprecated. Use MovePageFactory instead.
|
||||
* userCan hook has been deprecated. Use getUserPermissionsErrors or
|
||||
* userCan hook has been hard deprecated. Use getUserPermissionsErrors or
|
||||
getUserPermissionsErrorsExpensive instead.
|
||||
* Parser::mUser public access, Parser::getUser and ParserOptions::getUser were
|
||||
hard deprecated.
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ use User;
|
|||
* This is a hook handler interface, see docs/Hooks.md.
|
||||
* Use the hook name "userCan" to register handlers implementing this interface.
|
||||
*
|
||||
* @stable to implement
|
||||
* @deprecated since 1.37 use getUserPermissionsErrors or getUserPermissionsErrorsExpensive instead.
|
||||
* @ingroup Hooks
|
||||
*/
|
||||
interface UserCanHook {
|
||||
|
|
|
|||
Loading…
Reference in a new issue