Merge pull request #10700 from alifrumin/participantnote
[civicrm-core.git] / CRM / Case / XMLRepository.php
index bf6e2c210b3aeb686e2c46b5771370b82c94eb95..a86e440160773feb5ed4e907e8c38159bf2abafb 100644 (file)
@@ -63,6 +63,13 @@ class CRM_Case_XMLRepository {
     return self::$singleton;
   }
 
+  public function flush() {
+    $this->xml = array();
+    $this->hookCache = NULL;
+    $this->allCaseTypes = NULL;
+    CRM_Core_DAO::$_dbColumnValueCache = array();
+  }
+
   /**
    * Class constructor.
    *