r32534 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r32533‎ | r32534 | r32535 >
Date:03:35, 28 March 2008
Author:greg
Status:old
Tags:
Comment:
Apply timestampOrNull in the correct place, thanks to Brion for catching this.
Modified paths:
  • /trunk/phase3/includes/User.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/User.php
@@ -2022,7 +2022,7 @@
20232023 'user_touched' => $dbw->timestamp($this->mTouched),
20242024 'user_token' => $this->mToken,
20252025 'user_email_token' => $this->mEmailToken,
2026 - 'user_email_token_expires' => $this->mEmailTokenExpires
 2026+ 'user_email_token_expires' => $dbw->timestampOrNull( $this->mEmailTokenExpires ),
20272027 ), array( /* WHERE */
20282028 'user_id' => $this->mId
20292029 ), __METHOD__

Status & tagging log