From ec2dd0bdf41b4f529945712cc44588262aeb9614 Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Wed, 20 Jun 2018 22:39:08 -0700 Subject: [PATCH] CRM_Extension_Mapper - Use PSR-16 compliant cache key --- CRM/Extension/Mapper.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CRM/Extension/Mapper.php b/CRM/Extension/Mapper.php index 8615513566..38ff7d1951 100644 --- a/CRM/Extension/Mapper.php +++ b/CRM/Extension/Mapper.php @@ -282,7 +282,7 @@ class CRM_Extension_Mapper { $moduleExtensions = NULL; if ($this->cache && !$fresh) { - $moduleExtensions = $this->cache->get($this->cacheKey . '/moduleFiles'); + $moduleExtensions = $this->cache->get($this->cacheKey . '_moduleFiles'); } if (!is_array($moduleExtensions)) { @@ -315,7 +315,7 @@ class CRM_Extension_Mapper { } if ($this->cache) { - $this->cache->set($this->cacheKey . '/moduleFiles', $moduleExtensions); + $this->cache->set($this->cacheKey . '_moduleFiles', $moduleExtensions); } } return $moduleExtensions; @@ -461,7 +461,7 @@ class CRM_Extension_Mapper { $this->infos = array(); $this->moduleExtensions = NULL; if ($this->cache) { - $this->cache->delete($this->cacheKey . '/moduleFiles'); + $this->cache->delete($this->cacheKey . '_moduleFiles'); } // FIXME: How can code so code wrong be so right? CRM_Extension_System::singleton()->getClassLoader()->refresh(); -- 2.25.1