From: Kunal Mehta Date: Thu, 25 May 2017 07:48:34 +0000 (-0700) Subject: CachingSiteStore: Avoid deprecated wfMemcKey() X-Git-Tag: 1.31.0-rc.0~3121^2 X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=commitdiff_plain;h=2dec360a6b04f923b34dc7dbe8dcbe2c1fb8904a CachingSiteStore: Avoid deprecated wfMemcKey() Change-Id: I123b29dd41c6e0f020e0fcc661813addbec92b27 --- diff --git a/includes/site/CachingSiteStore.php b/includes/site/CachingSiteStore.php index a2f43f307b..f3cd1e81a2 100644 --- a/includes/site/CachingSiteStore.php +++ b/includes/site/CachingSiteStore.php @@ -90,7 +90,7 @@ class CachingSiteStore implements SiteStore { private function getCacheKey() { if ( $this->cacheKey === null ) { $type = 'SiteList#' . SiteList::getSerialVersionId(); - $this->cacheKey = wfMemcKey( "sites/$type" ); + $this->cacheKey = $this->cache->makeKey( "sites/$type" ); } return $this->cacheKey;