From: Aaron Schulz Date: Sun, 13 Apr 2008 17:55:10 +0000 (+0000) Subject: Actually, leave usePatrol() stub for b/c X-Git-Tag: 1.31.0-rc.0~48363 X-Git-Url: https://git.cyclocoop.org//%22?a=commitdiff_plain;h=1530a54a4765c7b4edf5b47889018c704cadeb27;p=lhc%2Fweb%2Fwiklou.git Actually, leave usePatrol() stub for b/c --- diff --git a/includes/ChangesList.php b/includes/ChangesList.php index 294a6b4e82..cb609d1845 100644 --- a/includes/ChangesList.php +++ b/includes/ChangesList.php @@ -240,6 +240,15 @@ class ChangesList { } } } + + /** + * Check whether to enable recent changes patrol features + * @return bool + */ + public static function usePatrol() { + global $wgUser; + return $wgUser->useRCPatrol(); + } /** * Returns the string which indicates the number of watching users