r42049 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r42048‎ | r42049 | r42050 >
Date:19:23, 13 October 2008
Author:laner
Status:old (Comments)
Tags:
Comment:
Removing $result from UserLoadAfterLoadFromSession hook, as it was unused.
Modified paths:
  • /trunk/phase3/includes/User.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/User.php
@@ -247,7 +247,7 @@
248248 break;
249249 case 'session':
250250 $this->loadFromSession();
251 - wfRunHooks( 'UserLoadAfterLoadFromSession', array( $this, &$result ) );
 251+ wfRunHooks( 'UserLoadAfterLoadFromSession', array( $this ) );
252252 break;
253253 default:
254254 throw new MWException( "Unrecognised value for User->mFrom: \"{$this->mFrom}\"" );

Comments

#Comment by Brion VIBBER (talk | contribs)   19:24, 13 October 2008

Fixes leftover code from r42043

Status & tagging log