Merge pull request #11686 from nextcloud/deprecation/noid/ocp_util_recursiveArraySearch

Deprecate unused OCP\Util::recursiveArraySearch
This commit is contained in:
Morris Jobke 2018-10-09 09:43:11 +02:00 committed by GitHub
commit 8e1c26b509
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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);