Reverted r58313, pointless, does not fix the bug.
This commit is contained in:
parent
2fbb62a4c5
commit
0e94ef3836
1 changed files with 0 additions and 6 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue