r17069 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r17068
|
r17069
|
r17070
>
Date:
10:38, 17 October 2006
Author:
tstarling
Status:
old
Tags:
Comment:
Pass by reference, allow AutoAuthenticate to create a new object and assign it to $user.
Modified paths:
/trunk/phase3/includes/StubObject.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/includes/StubObject.php
—
—
@@ -120,7 +120,7 @@
121
121
$user = new User;
122
122
} else {
123
123
$user = User::newFromSession();
124
- wfRunHooks('AutoAuthenticate',array($user));
124
+ wfRunHooks('AutoAuthenticate',array(&$user));
125
125
}
126
126
return $user;
127
127
}