From 7c8f36c39037cf917a28c6a045034d2c27f8b73e Mon Sep 17 00:00:00 2001 From: Ruben Rodriguez Date: Mon, 5 Jun 2023 16:07:24 -0400 Subject: [PATCH] Reverting change from RT#765026 that has been disabled for years, and patched upstream at https://issues.civicrm.org/jira/browse/CRM-9879 --- CRM/ACL/BAO/Cache.php | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/CRM/ACL/BAO/Cache.php b/CRM/ACL/BAO/Cache.php index 9b2f13f53c..eac03d8b10 100644 --- a/CRM/ACL/BAO/Cache.php +++ b/CRM/ACL/BAO/Cache.php @@ -64,15 +64,9 @@ SELECT acl_id "; $params = [1 => [$id, 'Integer']]; - /* this is related to RT#765026 - Something is occasionally inserting records in civicrm_acl_cache with id null. - That causes i for our anonymous visitors who want to sign petitions. - Removed. Ward, 2012-07-20 */ - /* if ($id == 0) { - $query .= " OR contact_id IS NULL"; + $query .= " OR contact_id IS NULL"; } - t*/ $dao = CRM_Core_DAO::executeQuery($query, $params); -- 2.25.1