r33253 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r33252‎ | r33253 | r33254 >
Date:17:55, 13 April 2008
Author:aaron
Status:old
Tags:
Comment:
Actually, leave usePatrol() stub for b/c
Modified paths:
  • /trunk/phase3/includes/ChangesList.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/ChangesList.php
@@ -240,6 +240,15 @@
241241 }
242242 }
243243 }
 244+
 245+ /**
 246+ * Check whether to enable recent changes patrol features
 247+ * @return bool
 248+ */
 249+ public static function usePatrol() {
 250+ global $wgUser;
 251+ return $wgUser->useRCPatrol();
 252+ }
244253
245254 /**
246255 * Returns the string which indicates the number of watching users

Status & tagging log