From 2c528e173844a4166738740e8290dde6224e92c9 Mon Sep 17 00:00:00 2001 From: Seamus Lee Date: Thu, 13 Jun 2019 16:17:38 +1000 Subject: [PATCH] Fix function calls in new cache and bump version --- info.xml | 4 ++-- multisite.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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; }