wfTimestampNow()->Database::timestamp()
authorDomas Mituzas <midom@users.mediawiki.org>
Fri, 3 Sep 2004 11:28:35 +0000 (11:28 +0000)
committerDomas Mituzas <midom@users.mediawiki.org>
Fri, 3 Sep 2004 11:28:35 +0000 (11:28 +0000)
includes/LinksUpdate.php

index b9e3f03..fd09f12 100644 (file)
@@ -266,7 +266,7 @@ class LinksUpdate {
                # Ignore errors. If a link existed in both the brokenlinks table and the links 
                # table, that's an error which can be fixed at this stage by simply ignoring collisions
                $arr=array();
-               $now = wfTimestampNow();
+               $now = $dbw->timestamp();
                $sql2 = "UPDATE $cur SET cur_touched='{$now}' WHERE cur_id IN (";
                $first = true;
                while ( $row = $dbw->fetchObject( $res ) ) {