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:
6dd05bc
)
More consistent method for immediate logout, means that the IP rather than the userna...
author
Tim Starling
<tstarling@users.mediawiki.org>
Thu, 23 Sep 2004 15:43:25 +0000
(15:43 +0000)
committer
Tim Starling
<tstarling@users.mediawiki.org>
Thu, 23 Sep 2004 15:43:25 +0000
(15:43 +0000)
includes/User.php
patch
|
blob
|
history
diff --git
a/includes/User.php
b/includes/User.php
index
e9eeca7
..
d2e7654
100644
(file)
--- a/
includes/User.php
+++ b/
includes/User.php
@@
-679,7
+679,8
@@
class User {
*/
function logout() {
global $wgCookiePath, $wgCookieDomain, $wgDBname;
- $this->mId = 0;
+ $this->loadDefaults();
+ $this->setLoaded( true );
$_SESSION['wsUserID'] = 0;