CRM-21787: Keep up-to-date without running GenCode on all builds
[civicrm-core.git] / CRM / Core / Component.php
index b9de5379701bf4cf5647531cfee2a72578b0fcdb..988a7059f1b3e75aa646182fa515d96f0662d3f0 100644 (file)
@@ -139,7 +139,7 @@ class CRM_Core_Component {
   }
 
   static public function flushEnabledComponents() {
-    self::getEnabledComponents(TRUE);
+    unset(Civi::$statics[__CLASS__]);
   }
 
   /**