From: Matěj Grabovský Date: Sat, 25 Jun 2011 10:04:14 +0000 (+0000) Subject: Follow-up r90408: use $user->useRCPatrol() X-Git-Tag: 1.31.0-rc.0~29288 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=8582fd21367fd7cc8d83ad1927f582e21a8b567d;p=lhc%2Fweb%2Fwiklou.git Follow-up r90408: use $user->useRCPatrol() --- diff --git a/includes/Preferences.php b/includes/Preferences.php index 8e305083ef..5df8b54935 100644 --- a/includes/Preferences.php +++ b/includes/Preferences.php @@ -818,7 +818,7 @@ class Preferences { 'section' => 'rc/advancedrc', ); - if ( $wgUseRCPatrol && $user->isAllowed( 'patrol' ) ) { + if ( $user->useRCPatrol() ) { $defaultPreferences['hidepatrolled'] = array( 'type' => 'toggle', 'section' => 'rc/advancedrc',