From 9d5210b8261b7b72ddd3a904d5282354311fec11 Mon Sep 17 00:00:00 2001 From: Domas Mituzas Date: Tue, 10 Aug 2004 13:17:20 +0000 Subject: [PATCH] use proper timestamp conversion for user_touched --- includes/User.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/User.php b/includes/User.php index 63044d762d..98b33964f5 100644 --- a/includes/User.php +++ b/includes/User.php @@ -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 -- 2.20.1