From c4b1e1277ba30f0f8011e92cf8a9b3b8159ff143 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Mon, 8 Oct 2018 18:33:09 +0200 Subject: [PATCH] Deprecate unused OCP\Util::recursiveArraySearch Signed-off-by: Morris Jobke --- lib/public/Util.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/public/Util.php b/lib/public/Util.php index 3a1c28a899a..bf1a83037f1 100644 --- a/lib/public/Util.php +++ b/lib/public/Util.php @@ -421,6 +421,7 @@ class Util { * @param mixed $index optional, only search this key name * @return mixed the key of the matching field, otherwise false * @since 4.5.0 + * @deprecated 15.0.0 */ public static function recursiveArraySearch($haystack, $needle, $index = null) { return \OC_Helper::recursiveArraySearch($haystack, $needle, $index);