From: Roan Kattouw Date: Sun, 20 Mar 2011 17:10:48 +0000 (+0000) Subject: Followup r84399: remove another round() call X-Git-Tag: 1.31.0-rc.0~31293 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/journal.php?a=commitdiff_plain;h=1ce0c189ee15bcd08436ecffe51a549627385a2b;p=lhc%2Fweb%2Fwiklou.git Followup r84399: remove another round() call --- diff --git a/includes/resourceloader/ResourceLoaderStartUpModule.php b/includes/resourceloader/ResourceLoaderStartUpModule.php index aec8c98ef1..7048f03c90 100644 --- a/includes/resourceloader/ResourceLoaderStartUpModule.php +++ b/includes/resourceloader/ResourceLoaderStartUpModule.php @@ -166,10 +166,10 @@ class ResourceLoaderStartUpModule extends ResourceLoaderModule { 'lang' => $context->getLanguage(), 'skin' => $context->getSkin(), 'debug' => $context->getDebug() ? 'true' : 'false', - 'version' => wfTimestamp( TS_ISO_8601_BASIC, round( max( + 'version' => wfTimestamp( TS_ISO_8601_BASIC, max( $context->getResourceLoader()->getModule( 'jquery' )->getModifiedTime( $context ), $context->getResourceLoader()->getModule( 'mediawiki' )->getModifiedTime( $context ) - ), -2 ) ) + ) ) ); // Ensure uniform query order ksort( $query );