CRM-19068 put back the cacheFlush function for tests.
authoreileenmcnaugton <eileen@fuzion.co.nz>
Sun, 7 Aug 2016 10:54:09 +0000 (22:54 +1200)
committereileenmcnaugton <eileen@fuzion.co.nz>
Sun, 7 Aug 2016 22:17:06 +0000 (10:17 +1200)
I removed a row doing a pointless group delete - but it
turns out it was overloaded with a cache flush - so
reinstating just the cache flush

CRM/Contact/BAO/Group.php

index adc3291d7d45ce7d5e3c947f960d9eff873a90fc..23dd8dd9cd8e0d8f8207f44deda9094fadaae56e 100644 (file)
@@ -460,6 +460,7 @@ class CRM_Contact_BAO_Group extends CRM_Contact_DAO_Group {
       CRM_Contact_BAO_GroupOrganization::add($groupOrg);
     }
 
+    CRM_Utils_System::flushCache();
     CRM_Contact_BAO_GroupContactCache::add($group->id);
 
     if (!empty($params['id'])) {