From: Trevor Parscal Date: Wed, 29 Sep 2010 23:25:07 +0000 (+0000) Subject: Removed the requirement to define getModifiedTime for a module, the default implement... X-Git-Tag: 1.31.0-rc.0~34730 X-Git-Url: http://git.cyclocoop.org/%22%2C%20generer_url_ecrire%28?a=commitdiff_plain;h=7663a150061e64105281e94d3d59492cfaeb0832;p=lhc%2Fweb%2Fwiklou.git Removed the requirement to define getModifiedTime for a module, the default implementation returns 1 --- diff --git a/includes/ResourceLoaderModule.php b/includes/ResourceLoaderModule.php index 5537179a6f..41a363eda5 100644 --- a/includes/ResourceLoaderModule.php +++ b/includes/ResourceLoaderModule.php @@ -217,7 +217,10 @@ abstract class ResourceLoaderModule { * @param $context ResourceLoaderContext object * @return int UNIX timestamp */ - public abstract function getModifiedTime( ResourceLoaderContext $context ); + public function getModifiedTime( ResourceLoaderContext $context ) { + // 0 would mean now + return 1; + } } /**