From 0ac992e9e7aa866859db87989398624304ac4d6c Mon Sep 17 00:00:00 2001 From: Noah Miller Date: Sat, 14 Oct 2023 18:02:09 -0400 Subject: [PATCH] remove "todo" which we don't actually want to do -- throwing this error would break a lot of things. --- CRM/Utils/Array.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/CRM/Utils/Array.php b/CRM/Utils/Array.php index 3045fb38fe..1b45795c6a 100644 --- a/CRM/Utils/Array.php +++ b/CRM/Utils/Array.php @@ -70,8 +70,6 @@ class CRM_Utils_Array { if ($list instanceof ArrayAccess) { return $list->offsetExists($key) ? $list[$key] : $default; } - // @todo - eliminate invalid usages from core & uncomment this line. - CRM_Core_Error::deprecatedFunctionWarning('an array/ArrayAccess for the "list" parameter'); return $default; } -- 2.25.1