dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a7c86ae
)
Removing $result from UserLoadAfterLoadFromSession hook, as it was unused.
author
Ryan Lane
<laner@users.mediawiki.org>
Mon, 13 Oct 2008 19:23:27 +0000
(19:23 +0000)
committer
Ryan Lane
<laner@users.mediawiki.org>
Mon, 13 Oct 2008 19:23:27 +0000
(19:23 +0000)
includes/User.php
patch
|
blob
|
history
diff --git
a/includes/User.php
b/includes/User.php
index
6436972
..
6888de3
100644
(file)
--- 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}\"" );