X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fsite%2FCachingSiteStore.php;h=f3cd1e81a224a094c3cb5f83460d08200b67afde;hb=86ae6cc9a8927535f0b699909bb8f0e580bd0665;hp=077dbc0efd5f5ee1bb0cd59c9cfd5fb2def0f6f1;hpb=f1a890c34cebd8744bf3a6277734275fb975575a;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/site/CachingSiteStore.php b/includes/site/CachingSiteStore.php index 077dbc0efd..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; @@ -142,7 +142,7 @@ class CachingSiteStore implements SiteStore { * @return bool Success indicator */ public function saveSite( Site $site ) { - return $this->saveSites( array( $site ) ); + return $this->saveSites( [ $site ] ); } /**