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 @@
218
218
* @param $context ResourceLoaderContext object
219
219
* @return int UNIX timestamp
220
220
*/
221
- public abstract function getModifiedTime( ResourceLoaderContext $context );
221
+ public function getModifiedTime( ResourceLoaderContext $context ) {
222
+ // 0 would mean now
223
+ return 1;
224
+ }
222
225
}
223
226
224
227
/**
Status & tagging log
15:12, 3 October 2010
Catrope
(
talk
|
contribs
)
changed the
status
of r74004
[
removed:
new
added:
ok]