r74004 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r74003‎ | r74004 | r74005 >
Date:23:25, 29 September 2010
Author:tparscal
Status:ok
Tags:
Comment:
Removed the requirement to define getModifiedTime for a module, the default implementation returns 1
Modified paths:
  • /trunk/phase3/includes/ResourceLoaderModule.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/ResourceLoaderModule.php
@@ -217,7 +217,10 @@
218218 * @param $context ResourceLoaderContext object
219219 * @return int UNIX timestamp
220220 */
221 - public abstract function getModifiedTime( ResourceLoaderContext $context );
 221+ public function getModifiedTime( ResourceLoaderContext $context ) {
 222+ // 0 would mean now
 223+ return 1;
 224+ }
222225 }
223226
224227 /**

Status & tagging log