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:
8887974
)
Pass by reference, allow AutoAuthenticate to create a new object and assign it to...
author
Tim Starling
<tstarling@users.mediawiki.org>
Tue, 17 Oct 2006 10:38:56 +0000
(10:38 +0000)
committer
Tim Starling
<tstarling@users.mediawiki.org>
Tue, 17 Oct 2006 10:38:56 +0000
(10:38 +0000)
includes/StubObject.php
patch
|
blob
|
history
diff --git
a/includes/StubObject.php
b/includes/StubObject.php
index
9d21931
..
8731670
100644
(file)
--- a/
includes/StubObject.php
+++ b/
includes/StubObject.php
@@
-120,7
+120,7
@@
class StubUser extends StubObject {
$user = new User;
} else {
$user = User::newFromSession();
- wfRunHooks('AutoAuthenticate',array($user));
+ wfRunHooks('AutoAuthenticate',array(
&
$user));
}
return $user;
}