From: Domas Mituzas Date: Fri, 3 Sep 2004 11:28:35 +0000 (+0000) Subject: wfTimestampNow()->Database::timestamp() X-Git-Tag: 1.5.0alpha1~2146 X-Git-Url: http://git.cyclocoop.org//%22%22.str_replace%28%27%22%27%2C?a=commitdiff_plain;h=3babd9d5535cdbf65b160454f3d207342e9eed49;p=lhc%2Fweb%2Fwiklou.git wfTimestampNow()->Database::timestamp() --- diff --git a/includes/LinksUpdate.php b/includes/LinksUpdate.php index b9e3f03183..fd09f128cc 100644 --- a/includes/LinksUpdate.php +++ b/includes/LinksUpdate.php @@ -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 ) ) {