r98922 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r98921‎ | r98922 | r98923 >
Date:21:06, 4 October 2011
Author:reedy
Status:ok
Tags:
Comment:
Follwoup r98147

Can't use $this in a static context, not that the method is there anyway...
Modified paths:
  • /trunk/extensions/CentralAuth/CentralAuthHooks.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CentralAuth/CentralAuthHooks.php
@@ -461,7 +461,7 @@
462462 // Is the user blocked?
463463 $anon = new User;
464464 if ( !$anon->isAllowedAny( 'createaccount', 'centralauth-autoaccount' )
465 - || $this->isBlockedFromCreateAccount() )
 465+ || $anon->isBlockedFromCreateAccount() )
466466 {
467467 // Blacklist the user to avoid repeated DB queries subsequently
468468 // First load the session again in case it changed while the above DB query was in progress

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r98147FU r98058...aaron17:40, 26 September 2011

Status & tagging log