Followup to r61412: don't use time(), we have our own function for this
authorRoan Kattouw <catrope@users.mediawiki.org>
Sat, 23 Jan 2010 15:05:24 +0000 (15:05 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Sat, 23 Jan 2010 15:05:24 +0000 (15:05 +0000)
includes/api/ApiQuerySiteinfo.php

index a255954..dc2cfe4 100644 (file)
@@ -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 );
        }