Remove unused, deprecated ChangesList::usePatrol
Deprecated since 1.22 and not used in any extension hosted in Wikimedia git (and afaik elsewhere). Change-Id: I0974ba80b7ab21b056d7f16e936b5c564b562e6d
This commit is contained in:
parent
c675730f96
commit
e4506630eb
2 changed files with 1 additions and 14 deletions
|
|
@ -212,6 +212,7 @@ changes to languages because of Phabricator reports.
|
|||
* Linker::makeKnownLinkObj() was removed (deprecated since 1.16).
|
||||
* Linker::makeLinkObj() was removed (deprecated since 1.16).
|
||||
* wfMsgForContentNoTrans() was removed (deprecated since 1.18).
|
||||
* ChangesList::usePatrol was removed (deprecated since 1.22).
|
||||
|
||||
== Compatibility ==
|
||||
|
||||
|
|
|
|||
|
|
@ -481,20 +481,6 @@ class ChangesList extends ContextSource {
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Check whether to enable recent changes patrol features
|
||||
*
|
||||
* @deprecated since 1.22
|
||||
* @return bool
|
||||
*/
|
||||
public static function usePatrol() {
|
||||
global $wgUser;
|
||||
|
||||
wfDeprecated( __METHOD__, '1.22' );
|
||||
|
||||
return $wgUser->useRCPatrol();
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the string which indicates the number of watching users
|
||||
* @param int $count Number of user watching a page
|
||||
|
|
|
|||
Loading…
Reference in a new issue