From d1aea11ffd05507d694a1b1227e09d2ca52f22a2 Mon Sep 17 00:00:00 2001 From: Ryan Lane Date: Mon, 13 Oct 2008 19:23:27 +0000 Subject: [PATCH] Removing $result from UserLoadAfterLoadFromSession hook, as it was unused. --- includes/User.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}\"" ); -- 2.20.1