From: Tim Düsterhus Date: Tue, 29 Sep 2015 18:54:04 +0000 (+0200) Subject: Remove ArrayUtil::intersectKeys() X-Git-Tag: 3.0.0_Beta_1~2106 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5e0297793dd96512502aa6db39791f3f0332cd1a;p=GitHub%2FWoltLab%2FWCF.git Remove ArrayUtil::intersectKeys() This method is deprecated since 2011 (way before the first releases of Community Framework 2.0). --- diff --git a/wcfsetup/install/files/lib/util/ArrayUtil.class.php b/wcfsetup/install/files/lib/util/ArrayUtil.class.php index ab93a526df..e58216e918 100644 --- a/wcfsetup/install/files/lib/util/ArrayUtil.class.php +++ b/wcfsetup/install/files/lib/util/ArrayUtil.class.php @@ -104,21 +104,6 @@ final class ArrayUtil { return $array; } - /** - * Alias to php array_intersect_key() function. - * - * @deprecated as of WCF 2.0, use PHP's array_intersect_key() function directly - * @see array_intersect_key() - * - * @param array $array1 - * @param array $array2 - * @return array - */ - public static function intersectKeys($array1, $array2) { - $parameters = func_get_args(); - return call_user_func_array('array_intersect_key', $parameters); - } - /** * Converts dos to unix newlines. *