Reverted r58313, pointless, does not fix the bug.

This commit is contained in:
Tim Starling 2010-01-07 23:36:08 +00:00
parent 2fbb62a4c5
commit 0e94ef3836

View file

@ -3602,7 +3602,6 @@ class User {
}
protected function loadOptions() {
global $wgCookiePrefix;
$this->load();
if ( $this->mOptionsLoaded || !$this->getId() )
return;
@ -3631,11 +3630,6 @@ class User {
$this->mOptionOverrides[$row->up_property] = $row->up_value;
$this->mOptions[$row->up_property] = $row->up_value;
}
//null skin if User::mId is loaded out of session data without persistant credentials
if ( !isset( $_SESSION['wsToken'] ) && !isset( $_COOKIE["{$wgCookiePrefix}Token"] ) )
$this->mOptions['skin'] = null;
}
$this->mOptionsLoaded = true;