From: Kunal Mehta Date: Thu, 25 May 2017 07:47:46 +0000 (-0700) Subject: SpecialVersion: Avoid deprecated wfMemcKey() X-Git-Tag: 1.31.0-rc.0~3124^2 X-Git-Url: http://git.heureux-cyclage.org/?a=commitdiff_plain;h=0f855f739e27afa4c74742a7ae6efdf892ee30d2;p=lhc%2Fweb%2Fwiklou.git SpecialVersion: Avoid deprecated wfMemcKey() Change-Id: I7cfaf049a4e193bdb12b5233f0460e71cbe876af --- diff --git a/includes/specials/SpecialVersion.php b/includes/specials/SpecialVersion.php index 708eced849..caa0e1fe8b 100644 --- a/includes/specials/SpecialVersion.php +++ b/includes/specials/SpecialVersion.php @@ -732,7 +732,9 @@ class SpecialVersion extends SpecialPage { } } $cache = wfGetCache( CACHE_ANYTHING ); - $memcKey = wfMemcKey( 'specialversion-ext-version-text', $extension['path'], $this->coreId ); + $memcKey = $cache->makeKey( + 'specialversion-ext-version-text', $extension['path'], $this->coreId + ); list( $vcsVersion, $vcsLink, $vcsDate ) = $cache->get( $memcKey ); if ( !$vcsVersion ) {