From 5e0297793dd96512502aa6db39791f3f0332cd1a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Tue, 29 Sep 2015 20:54:04 +0200 Subject: [PATCH] Remove ArrayUtil::intersectKeys() This method is deprecated since 2011 (way before the first releases of Community Framework 2.0). --- .../install/files/lib/util/ArrayUtil.class.php | 15 --------------- 1 file changed, 15 deletions(-) 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. * -- 2.20.1