r72149 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r72148‎ | r72149 | r72150 >
Date:19:01, 1 September 2010
Author:catrope
Status:deferred
Tags:
Comment:
Fix fatal
Modified paths:
  • /trunk/extensions/UsabilityInitiative/PrefSwitch/SpecialPrefSwitch.php (modified) (history)

Diff [purge]

Index: trunk/extensions/UsabilityInitiative/PrefSwitch/SpecialPrefSwitch.php
@@ -85,7 +85,9 @@
8686 $globalUser->getName(),
8787 true
8888 );
89 - self::switchOffUser( $remoteUser );
 89+ if ( $remoteUser ) {
 90+ self::switchOffUser( $remoteUser );
 91+ }
9092 }
9193 }
9294 }

Follow-up revisions

RevisionCommit summaryAuthorDate
r721531.16wmf4: MFT r72149catrope19:07, 1 September 2010

Status & tagging log