r113806 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r113805‎ | r113806 | r113807 >
Date:11:27, 14 March 2012
Author:santhosh
Status:ok
Tags:
Comment:
Change the cache key as suggested by Timo in r113800
Also change wfMemckey to wfMemcKey
Modified paths:
  • /branches/jsgrammar/includes/resourceloader/ResourceLoaderLanguageDataModule.php (modified) (history)

Diff [purge]

Index: branches/jsgrammar/includes/resourceloader/ResourceLoaderLanguageDataModule.php
@@ -54,7 +54,7 @@
5555 */
5656 public function getModifiedTime( ResourceLoaderContext $context ) {
5757 $cache = wfGetCache( CACHE_ANYTHING );
58 - $key = wfMemckey( 'rllangdatacache' );
 58+ $key = wfMemcKey( 'resourceloader', 'langdatamodule', 'changeinfo' );
5959
6060 $forms = $this->getSiteLangGrammarForms();
6161 $hash = md5( serialize( $forms ) );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r113800Impliment getModifiedTime for ResourceLoaderLanguageDataModule, using CACHE_A...santhosh08:34, 14 March 2012

Status & tagging log