From 3b9797fff0c18867b251e426cbd4b2912a7b2cf8 Mon Sep 17 00:00:00 2001 From: eileen Date: Mon, 2 Mar 2020 11:32:31 +1300 Subject: [PATCH] [REF] Removed unused function I did some searches - this isn't called --- CRM/ACL/BAO/Cache.php | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/CRM/ACL/BAO/Cache.php b/CRM/ACL/BAO/Cache.php index 1080be600f..0daeedffd9 100644 --- a/CRM/ACL/BAO/Cache.php +++ b/CRM/ACL/BAO/Cache.php @@ -115,20 +115,6 @@ WHERE contact_id = %1 CRM_Core_DAO::executeQuery($query, $params); } - /** - * Update ACL caches `civicrm_acl_cache` and `civicrm_acl_contact_cache for the specified ACLed user - * @param int $id - contact_id of ACLed user to update caches for. - * - */ - public static function updateEntry($id) { - // rebuilds civicrm_acl_cache - self::deleteEntry($id); - self::build($id); - - // rebuilds civicrm_acl_contact_cache - CRM_Contact_BAO_Contact_Permission::cache($id, CRM_Core_Permission::VIEW, TRUE); - } - /** * Deletes all the cache entries. */ -- 2.25.1