r90857 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r90856‎ | r90857 | r90858 >
Date:22:05, 26 June 2011
Author:happy-melon
Status:ok
Tags:
Comment:
Follow-up r84251 - isAllowed( 'right', 'or-another-right' ) was reverted.
Modified paths:
  • /trunk/extensions/GlobalBlocking/GlobalBlocking.class.php (modified) (history)

Diff [purge]

Index: trunk/extensions/GlobalBlocking/GlobalBlocking.class.php
@@ -44,7 +44,7 @@
4545 return $result = array();
4646 }
4747
48 - if ( $user->isAllowed( 'ipblock-exempt', 'globalblock-exempt' ) ) {
 48+ if ( $user->isAllowed( 'ipblock-exempt' ) || $user->isAllowed( 'globalblock-exempt' ) ) {
4949 // User is exempt from IP blocks.
5050 return $result = array();
5151 }

Follow-up revisions

RevisionCommit summaryAuthorDate
r92324REL_1.18 MFT r89121, r89266, r90723, r90857, r91578, r92300reedy22:08, 15 July 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r84251First forays into the swamp of the Block.php backend:...happy-melon16:35, 18 March 2011

Status & tagging log