Merge "CachingSiteStore: Avoid deprecated wfMemcKey()"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Sat, 27 May 2017 00:16:03 +0000 (00:16 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Sat, 27 May 2017 00:16:03 +0000 (00:16 +0000)
includes/site/CachingSiteStore.php

index a2f43f3..f3cd1e8 100644 (file)
@@ -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;