deprecate ChangesList::usePatrol
not used anywhere in core, not used in wmf-enabled extensions, and used little or not at all elsewhere. Change-Id: I9957696f025190d863a472e4512eb214b9cb5ada
This commit is contained in:
parent
403b4fed47
commit
90503e146a
1 changed files with 5 additions and 0 deletions
|
|
@ -456,10 +456,15 @@ class ChangesList extends ContextSource {
|
|||
|
||||
/**
|
||||
* Check whether to enable recent changes patrol features
|
||||
*
|
||||
* @deprecated since 1.22
|
||||
* @return Boolean
|
||||
*/
|
||||
public static function usePatrol() {
|
||||
global $wgUser;
|
||||
|
||||
wfDeprecated( __METHOD__, '1.22' );
|
||||
|
||||
return $wgUser->useRCPatrol();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue