Clean up remnants from half-done solutions in r49925, per comments on code review
This commit is contained in:
parent
b98d0b724f
commit
e25322e5cb
1 changed files with 2 additions and 2 deletions
|
|
@ -282,7 +282,7 @@ class User {
|
|||
# Try cache
|
||||
$key = wfMemcKey( 'user', 'id', $this->mId );
|
||||
$data = $wgMemc->get( $key );
|
||||
if ( !is_array( $data ) || $data['mVersion'] < 'MW_USER_VERSION' ) {
|
||||
if ( !is_array( $data ) || $data['mVersion'] < MW_USER_VERSION ) {
|
||||
# Object is expired, load from DB
|
||||
$data = false;
|
||||
}
|
||||
|
|
@ -972,7 +972,7 @@ class User {
|
|||
$this->mSkin = null;
|
||||
$this->mRights = null;
|
||||
$this->mEffectiveGroups = null;
|
||||
$this->mOptions = array();
|
||||
$this->mOptions = null;
|
||||
|
||||
if ( $reloadFrom ) {
|
||||
$this->mDataLoaded = false;
|
||||
|
|
|
|||
Loading…
Reference in a new issue