r58292 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r58291‎ | r58292 | r58293 >
Date:22:23, 28 October 2009
Author:catrope
Status:ok
Tags:
Comment:
GlobalBlocking: Fix fatal from r58261
Modified paths:
  • /trunk/extensions/GlobalBlocking/GlobalBlocking.class.php (modified) (history)

Diff [purge]

Index: trunk/extensions/GlobalBlocking/GlobalBlocking.class.php
@@ -30,7 +30,7 @@
3131 // Instance cache
3232 if (!is_null($result)) return $result;
3333
34 - $block = getGlobalBlockingBlock( $ip, $user->isAnon() );
 34+ $block = self::getGlobalBlockingBlock( $ip, $user->isAnon() );
3535 if ( $block ) {
3636 // Check for local whitelisting
3737 if (GlobalBlocking::getWhitelistInfo( $block->gb_id ) ) {

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r58261Refactor a bit. Function is needed to fix bug 20478 (Add a note to Special:Bl...raymond15:45, 28 October 2009

Status & tagging log