Actually, leave usePatrol() stub for b/c
authorAaron Schulz <aaron@users.mediawiki.org>
Sun, 13 Apr 2008 17:55:10 +0000 (17:55 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Sun, 13 Apr 2008 17:55:10 +0000 (17:55 +0000)
includes/ChangesList.php

index 294a6b4..cb609d1 100644 (file)
@@ -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