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:
aude 2013-07-02 09:29:12 +00:00
parent 403b4fed47
commit 90503e146a

View file

@ -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();
}