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:
aude 2016-01-03 09:57:00 -08:00
parent c675730f96
commit e4506630eb
2 changed files with 1 additions and 14 deletions

View file

@ -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 ==

View file

@ -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