r84400 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r84399‎ | r84400 | r84401 >
Date:17:10, 20 March 2011
Author:catrope
Status:ok
Tags:
Comment:
Followup r84399: remove another round() call
Modified paths:
  • /trunk/phase3/includes/resourceloader/ResourceLoaderStartUpModule.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/resourceloader/ResourceLoaderStartUpModule.php
@@ -166,10 +166,10 @@
167167 'lang' => $context->getLanguage(),
168168 'skin' => $context->getSkin(),
169169 'debug' => $context->getDebug() ? 'true' : 'false',
170 - 'version' => wfTimestamp( TS_ISO_8601_BASIC, round( max(
 170+ 'version' => wfTimestamp( TS_ISO_8601_BASIC, max(
171171 $context->getResourceLoader()->getModule( 'jquery' )->getModifiedTime( $context ),
172172 $context->getResourceLoader()->getModule( 'mediawiki' )->getModifiedTime( $context )
173 - ), -2 ) )
 173+ ) )
174174 );
175175 // Ensure uniform query order
176176 ksort( $query );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r84399Remove stray round() call, rounding of timestamps was removed some time ago. ...catrope17:08, 20 March 2011

Status & tagging log