use proper timestamp conversion for user_touched
This commit is contained in:
parent
4bc38e9ad6
commit
9d5210b826
1 changed files with 2 additions and 2 deletions
|
|
@ -273,7 +273,7 @@ class User {
|
|||
$this->mNewpassword = $s->user_newpassword;
|
||||
$this->decodeOptions( $s->user_options );
|
||||
$this->mRights = explode( ",", strtolower( $s->user_rights ) );
|
||||
$this->mTouched = $s->user_touched;
|
||||
$this->mTouched = wfTimestamp(TS_MW,$s->user_touched);
|
||||
}
|
||||
|
||||
$this->mDataLoaded = true;
|
||||
|
|
@ -570,7 +570,7 @@ class User {
|
|||
'user_email' => $this->mEmail,
|
||||
'user_options' => $this->encodeOptions(),
|
||||
'user_rights' => implode( ",", $this->mRights ),
|
||||
'user_touched' => $this->mTouched
|
||||
'user_touched' => $dbw->timestamp($this->mTouched)
|
||||
), array( /* WHERE */
|
||||
'user_id' => $this->mId
|
||||
), $fname
|
||||
|
|
|
|||
Loading…
Reference in a new issue