https://www.mediawiki.org/wiki/Special:Code/MediaWiki/113806
Revision: 113806
Author: santhosh
Date: 2012-03-14 11:27:58 +0000 (Wed, 14 Mar 2012)
Log Message:
-----------
Change the cache key as suggested by Timo in r113800
Also change wfMemckey to wfMemcKey
Modified Paths:
--------------
branches/jsgrammar/includes/resourceloader/ResourceLoaderLanguageDataModule.php
Modified:
branches/jsgrammar/includes/resourceloader/ResourceLoaderLanguageDataModule.php
===================================================================
---
branches/jsgrammar/includes/resourceloader/ResourceLoaderLanguageDataModule.php
2012-03-14 10:58:11 UTC (rev 113805)
+++
branches/jsgrammar/includes/resourceloader/ResourceLoaderLanguageDataModule.php
2012-03-14 11:27:58 UTC (rev 113806)
@@ -54,7 +54,7 @@
*/
public function getModifiedTime( ResourceLoaderContext $context ) {
$cache = wfGetCache( CACHE_ANYTHING );
- $key = wfMemckey( 'rllangdatacache' );
+ $key = wfMemcKey( 'resourceloader', 'langdatamodule',
'changeinfo' );
$forms = $this->getSiteLangGrammarForms();
$hash = md5( serialize( $forms ) );
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs