From 1530a54a4765c7b4edf5b47889018c704cadeb27 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Sun, 13 Apr 2008 17:55:10 +0000 Subject: [PATCH] Actually, leave usePatrol() stub for b/c --- includes/ChangesList.php | 9 +++++++++ 1 file changed, 9 insertions(+) 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 -- 2.20.1