From 3ea36d175ca715fccc0a3a1c5f9be4fd63ac98a1 Mon Sep 17 00:00:00 2001 From: eileen Date: Sat, 23 Sep 2017 15:45:55 +1200 Subject: [PATCH] CRM-21218 Improve component statics flushing Without this I'm seeing it try to rebuild when it should just be flushing. --- CRM/Core/Component.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Core/Component.php b/CRM/Core/Component.php index b9de5379701b..988a7059f1b3 100644 --- a/CRM/Core/Component.php +++ b/CRM/Core/Component.php @@ -139,7 +139,7 @@ static public function &getEnabledComponents($force = FALSE) { } static public function flushEnabledComponents() { - self::getEnabledComponents(TRUE); + unset(Civi::$statics[__CLASS__]); } /**