deprecate ChangesList::usePatrol
[lhc/web/wiklou.git] / includes / ChangesList.php
index ab851fa..dee8bf7 100644 (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();
        }