X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fsite%2FCachingSiteStore.php;h=625c8997c57b1cc844ae7ea480c3d391deb3cfa0;hb=088f0ab09174df62127623da09d1f7d091783ba7;hp=a2f43f307b9f6c4e3f734d8f16f6303118c15717;hpb=d716155c8b2d6e4a51a4110195cee7a1794846e8;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/site/CachingSiteStore.php b/includes/site/CachingSiteStore.php index a2f43f307b..625c8997c5 100644 --- a/includes/site/CachingSiteStore.php +++ b/includes/site/CachingSiteStore.php @@ -24,7 +24,7 @@ * @file * @ingroup Site * - * @license GNU GPL v2+ + * @license GPL-2.0-or-later * @author Jeroen De Dauw < jeroendedauw@gmail.com > * @author Katie Filbert < aude.wiki@gmail.com > */ @@ -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;