Added @deprecated info
authorMatthias Schmidt <gravatronics@live.com>
Thu, 4 Aug 2011 17:55:47 +0000 (19:55 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Thu, 4 Aug 2011 17:55:47 +0000 (19:55 +0200)
wcfsetup/install/files/lib/util/ArrayUtil.class.php

index 787656e7609b8d27cd75277e6fb2adeed396a179..96ea49c5e9d59c9e06226a1379ead2d5649a3dd8 100644 (file)
@@ -104,11 +104,12 @@ class ArrayUtil {
        
        /**
         * Alias to php array_intersect_key() function.
+        * 
+        * @deprecated  as of WCF 2.0, use PHP's array_intersect_key() function directly
         *
         * @param       array   $array1         The array with master keys to check. 
         * @param       array   $array2         An array to compare keys against.
         * @return                              Returns an associative array containing all the values of array1  which have matching keys that are present in all arguments. 
-        * @deprecated
         */
        public static function intersectKeys($array1, $array2) {
                $parameters = func_get_args();