From 734906f8523f278fdaa62f872e63a56ff012dd13 Mon Sep 17 00:00:00 2001 From: Domas Mituzas Date: Tue, 7 Sep 2004 08:00:45 +0000 Subject: [PATCH] tsfix --- includes/Title.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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(), -- 2.20.1