From e855e1359c875e54f1d4381f1b5c420688c4e379 Mon Sep 17 00:00:00 2001 From: eileenmcnaugton Date: Sun, 7 Aug 2016 19:37:41 +1200 Subject: [PATCH] CRM-19068 remove references to 'descendant groups for an org' A grep on this only finds it in the legacy version of the multisite extension --- CRM/Contact/BAO/Group.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/CRM/Contact/BAO/Group.php b/CRM/Contact/BAO/Group.php index 444b11b8ca..adc3291d7d 100644 --- a/CRM/Contact/BAO/Group.php +++ b/CRM/Contact/BAO/Group.php @@ -107,11 +107,6 @@ class CRM_Contact_BAO_Group extends CRM_Contact_DAO_Group { $query = "DELETE FROM civicrm_acl_entity_role where entity_table = 'civicrm_group' AND entity_id = %1"; CRM_Core_DAO::executeQuery($query, $params); - if (Civi::settings()->get('is_enabled')) { - // clear any descendant groups cache if exists - CRM_Core_BAO_Cache::deleteGroup('descendant groups for an org'); - } - // delete from group table $group = new CRM_Contact_DAO_Group(); $group->id = $id; @@ -448,9 +443,6 @@ class CRM_Contact_BAO_Group extends CRM_Contact_DAO_Group { } } - // clear any descendant groups cache if exists - $finalGroups = CRM_Core_BAO_Cache::deleteGroup('descendant groups for an org'); - // this is always required, since we don't know when a // parent group is removed CRM_Contact_BAO_GroupNestingCache::update(); -- 2.25.1