From: Roan Kattouw Date: Sat, 23 Jan 2010 15:05:24 +0000 (+0000) Subject: Followup to r61412: don't use time(), we have our own function for this X-Git-Tag: 1.31.0-rc.0~38144 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/operations/recherche.php?a=commitdiff_plain;h=10bafc0edbcac697da37bb8adfdc6367cac844d2;p=lhc%2Fweb%2Fwiklou.git Followup to r61412: don't use time(), we have our own function for this --- diff --git a/includes/api/ApiQuerySiteinfo.php b/includes/api/ApiQuerySiteinfo.php index a2559543d1..dc2cfe42f8 100644 --- a/includes/api/ApiQuerySiteinfo.php +++ b/includes/api/ApiQuerySiteinfo.php @@ -154,7 +154,7 @@ class ApiQuerySiteinfo extends ApiQueryBase { $data['variantarticlepath'] = $GLOBALS['wgVariantArticlePath']; $data['server'] = $GLOBALS['wgServer']; $data['wikiid'] = wfWikiID(); - $data['time'] = wfTimestamp( TS_ISO_8601, time() ); + $data['time'] = wfTimestampNow( TS_ISO_8601 ); return $this->getResult()->addValue( 'query', $property, $data ); }