From 7382e21642212abb1659d16e7ef0717884ff1c70 Mon Sep 17 00:00:00 2001 From: Herb vd Dool Date: Mon, 7 Oct 2019 13:42:24 -0400 Subject: [PATCH] make moduleExtensions a static variable --- CRM/Extension/Mapper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Extension/Mapper.php b/CRM/Extension/Mapper.php index df38b02fff..f554daca2a 100644 --- a/CRM/Extension/Mapper.php +++ b/CRM/Extension/Mapper.php @@ -280,7 +280,7 @@ class CRM_Extension_Mapper { return []; } - $moduleExtensions = NULL; + static $moduleExtensions = NULL; if ($this->cache && !$fresh) { $moduleExtensions = $this->cache->get($this->cacheKey . '_moduleFiles'); } -- 2.25.1