r90763 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r90762‎ | r90763 | r90764 >
Date:10:04, 25 June 2011
Author:mgrabovsky
Status:ok
Tags:
Comment:
Follow-up r90408: use $user->useRCPatrol()
Modified paths:
  • /trunk/phase3/includes/Preferences.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Preferences.php
@@ -818,7 +818,7 @@
819819 'section' => 'rc/advancedrc',
820820 );
821821
822 - if ( $wgUseRCPatrol && $user->isAllowed( 'patrol' ) ) {
 822+ if ( $user->useRCPatrol() ) {
823823 $defaultPreferences['hidepatrolled'] = array(
824824 'type' => 'toggle',
825825 'section' => 'rc/advancedrc',

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r90408(bug 29342) Patrol preferences shouldn't be visible to users who don't have p...mgrabovsky18:07, 19 June 2011

Status & tagging log