http://www.mediawiki.org/wiki/Special:Code/MediaWiki/90763
Revision: 90763
Author: mgrabovsky
Date: 2011-06-25 10:04:14 +0000 (Sat, 25 Jun 2011)
Log Message:
-----------
Follow-up r90408: use $user->useRCPatrol()
Modified Paths:
--------------
trunk/phase3/includes/Preferences.php
Modified: trunk/phase3/includes/Preferences.php
===================================================================
--- trunk/phase3/includes/Preferences.php 2011-06-25 10:03:37 UTC (rev
90762)
+++ trunk/phase3/includes/Preferences.php 2011-06-25 10:04:14 UTC (rev
90763)
@@ -818,7 +818,7 @@
'section' => 'rc/advancedrc',
);
- if ( $wgUseRCPatrol && $user->isAllowed( 'patrol' ) ) {
+ if ( $user->useRCPatrol() ) {
$defaultPreferences['hidepatrolled'] = array(
'type' => 'toggle',
'section' => 'rc/advancedrc',
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs