remove "todo" which we don't actually want to do
authorNoah Miller <nm@lemnisc.us>
Sat, 14 Oct 2023 22:02:09 +0000 (18:02 -0400)
committerNoah Miller <nm@lemnisc.us>
Sat, 14 Oct 2023 22:02:09 +0000 (18:02 -0400)
-- throwing this error would break a lot of things.

CRM/Utils/Array.php

index 3045fb38fefa87410f375882fc877634d41c9ed7..1b45795c6a9785fdcaf2c9a47c3168c5ba706fb0 100644 (file)
@@ -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;
   }