Skip to content

Commit

Permalink
Merge pull request #11686 from nextcloud/deprecation/noid/ocp_util_re…
Browse files Browse the repository at this point in the history
…cursiveArraySearch

Deprecate unused OCP\Util::recursiveArraySearch
  • Loading branch information
MorrisJobke authored Oct 9, 2018
2 parents 28f3fe2 + c4b1e12 commit 8e1c26b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/public/Util.php
Original file line number Diff line number Diff line change
Expand Up @@ -426,6 +426,7 @@ public static function mb_array_change_key_case($input, $case = MB_CASE_LOWER, $
* @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);
Expand Down

0 comments on commit 8e1c26b

Please sign in to comment.