http://www.mediawiki.org/wiki/Special:Code/MediaWiki/74004

Revision: 74004
Author:   tparscal
Date:     2010-09-29 23:25:07 +0000 (Wed, 29 Sep 2010)

Log Message:
-----------
Removed the requirement to define getModifiedTime for a module, the default 
implementation returns 1

Modified Paths:
--------------
    trunk/phase3/includes/ResourceLoaderModule.php

Modified: trunk/phase3/includes/ResourceLoaderModule.php
===================================================================
--- trunk/phase3/includes/ResourceLoaderModule.php      2010-09-29 23:19:24 UTC 
(rev 74003)
+++ trunk/phase3/includes/ResourceLoaderModule.php      2010-09-29 23:25:07 UTC 
(rev 74004)
@@ -217,7 +217,10 @@
         * @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;
+       }
 }
 
 /**



_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to