From 430bf24195351feeba3c9a7b17e175243c39db58 Mon Sep 17 00:00:00 2001 From: eileenmcnaugton Date: Sun, 7 Aug 2016 22:54:09 +1200 Subject: [PATCH] CRM-19068 put back the cacheFlush function for tests. 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 | 1 + 1 file changed, 1 insertion(+) diff --git a/CRM/Contact/BAO/Group.php b/CRM/Contact/BAO/Group.php index adc3291d7d..23dd8dd9cd 100644 --- a/CRM/Contact/BAO/Group.php +++ b/CRM/Contact/BAO/Group.php @@ -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'])) { -- 2.25.1