fix timestamp
authorDomas Mituzas <midom@users.mediawiki.org>
Mon, 6 Sep 2004 08:43:55 +0000 (08:43 +0000)
committerDomas Mituzas <midom@users.mediawiki.org>
Mon, 6 Sep 2004 08:43:55 +0000 (08:43 +0000)
includes/Title.php

index f0fb00b..c26b2b9 100644 (file)
@@ -644,7 +644,7 @@ class Title {
                $dbw =& wfGetDB( DB_MASTER );
                $success = $dbw->updateArray( 'cur', 
                        array( /* SET */ 
-                               'cur_touched' => wfTimestampNow()
+                               'cur_touched' => $dbw->timestamp()
                        ), array( /* WHERE */ 
                                'cur_namespace' => $this->getNamespace() ,
                                'cur_title' => $this->getDBkey()