From: Domas Mituzas Date: Tue, 7 Sep 2004 08:00:45 +0000 (+0000) Subject: tsfix X-Git-Tag: 1.5.0alpha1~2066 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=734906f8523f278fdaa62f872e63a56ff012dd13;p=lhc%2Fweb%2Fwiklou.git tsfix --- diff --git a/includes/Title.php b/includes/Title.php index b05629a029..3a17b3b052 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -1,7 +1,8 @@ updateArray( 'cur', /* SET */ array( - 'cur_touched' => $now, + 'cur_touched' => $dbw->timestamp($now), 'cur_namespace' => $nt->getNamespace(), 'cur_title' => $nt->getDBkey() ), @@ -985,8 +986,8 @@ class Title { $redirectText = $wgMwRedir->getSynonym( 0 ) . ' [[' . $nt->getPrefixedText() . "]]\n"; $dbw->updateArray( 'cur', /* SET */ array( - 'cur_touched' => $now, - 'cur_timestamp' => $now, + 'cur_touched' => $dbw->timestamp($now), + 'cur_timestamp' => $dbw->timestamp($now), 'inverse_timestamp' => $won, 'cur_namespace' => $this->getNamespace(), 'cur_title' => $this->getDBkey(),