From: Ryan Lane Date: Mon, 13 Oct 2008 19:23:27 +0000 (+0000) Subject: Removing $result from UserLoadAfterLoadFromSession hook, as it was unused. X-Git-Tag: 1.31.0-rc.0~44749 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=d1aea11ffd05507d694a1b1227e09d2ca52f22a2;p=lhc%2Fweb%2Fwiklou.git Removing $result from UserLoadAfterLoadFromSession hook, as it was unused. --- diff --git a/includes/User.php b/includes/User.php index 6436972cd1..6888de351a 100644 --- a/includes/User.php +++ b/includes/User.php @@ -247,7 +247,7 @@ class User { break; case 'session': $this->loadFromSession(); - wfRunHooks( 'UserLoadAfterLoadFromSession', array( $this, &$result ) ); + wfRunHooks( 'UserLoadAfterLoadFromSession', array( $this ) ); break; default: throw new MWException( "Unrecognised value for User->mFrom: \"{$this->mFrom}\"" );