r84399 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r84398‎ | r84399 | r84400 >
Date:17:08, 20 March 2011
Author:catrope
Status:ok
Tags:
Comment:
Remove stray round() call, rounding of timestamps was removed some time ago. Thanks to Michael for pointing this one out
Modified paths:
  • /trunk/phase3/includes/resourceloader/ResourceLoaderStartUpModule.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/resourceloader/ResourceLoaderStartUpModule.php
@@ -118,7 +118,7 @@
119119 $deps = $module->getDependencies();
120120 $group = $module->getGroup();
121121 $version = wfTimestamp( TS_ISO_8601_BASIC,
122 - round( $module->getModifiedTime( $context ), -2 ) );
 122+ $module->getModifiedTime( $context ) );
123123 $out .= ResourceLoader::makeCustomLoaderScript( $name, $version, $deps, $group, $loader );
124124 }
125125 // Automatically register module

Follow-up revisions

RevisionCommit summaryAuthorDate
r84400Followup r84399: remove another round() callcatrope17:10, 20 March 2011

Status & tagging log