Merge pull request #11686 from nextcloud/deprecation/noid/ocp_util_recursiveArraySearch
Deprecate unused OCP\Util::recursiveArraySearch
This commit is contained in:
commit
8e1c26b509
|
@ -426,6 +426,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);
|
||||
|
|
Loading…
Reference in New Issue