From 90503e146a6feb9690d2b1f05db3882aacefe522 Mon Sep 17 00:00:00 2001 From: aude Date: Tue, 2 Jul 2013 09:29:12 +0000 Subject: [PATCH] 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 --- includes/ChangesList.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/includes/ChangesList.php b/includes/ChangesList.php index ab851fa84e..dee8bf7947 100644 --- a/includes/ChangesList.php +++ b/includes/ChangesList.php @@ -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(); } -- 2.20.1