From b3e69c9252f54a49d5b1cbfa511f6b837e3e079c Mon Sep 17 00:00:00 2001 From: eileen Date: Wed, 21 Nov 2018 21:21:03 +1300 Subject: [PATCH] Remove static var from env function. It is causing a test fail and is only saving us from calling a cached function.... --- CRM/Core/Config.php | 1 - 1 file changed, 1 deletion(-) diff --git a/CRM/Core/Config.php b/CRM/Core/Config.php index 265532c67d..fdfdc06b76 100644 --- a/CRM/Core/Config.php +++ b/CRM/Core/Config.php @@ -270,7 +270,6 @@ class CRM_Core_Config extends CRM_Core_Config_MagicMerge { * @return string */ public static function environment($env = NULL, $reset = FALSE) { - static $environment; if ($env) { $environment = $env; } -- 2.25.1