diff --git a/info.xml b/info.xml index 720f1ae..87a6608 100644 --- a/info.xml +++ b/info.xml @@ -13,8 +13,8 @@ CiviCRM LLC info@civicrm.org - 2019-06-11 - 2.7 + 2019-06-13 + 2.7.1 stable 5.15 diff --git a/multisite.php b/multisite.php index a8e2d92..7aaf3d8 100644 --- a/multisite.php +++ b/multisite.php @@ -378,7 +378,7 @@ function _multisite_get_all_child_groups($groupID, $includeParent = TRUE) { $cache = Civi::cache('decendantGroups'); if (!array_key_exists($groupID, $_cache)) { - $childGroups = $cache->getItem($groupID); + $childGroups = $cache->get($groupID); if (empty($childGroups)) { $childGroups = array(); @@ -414,7 +414,7 @@ function _multisite_get_all_child_groups($groupID, $includeParent = TRUE) { } } - $cache->setItem($groupID, $childGroups); + $cache->set($groupID, $childGroups); } $_cache[$groupID] = $childGroups; }