diff options
Diffstat (limited to 'include/text.php')
-rw-r--r-- | include/text.php | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/include/text.php b/include/text.php index 80ed7d6db..ec3eb7b10 100644 --- a/include/text.php +++ b/include/text.php @@ -3331,28 +3331,6 @@ function array2XML($obj, $array) { } } -function array_path_exists($str,$arr) { - - $ptr = $arr; - $search = explode('/', $str); - - if($search) { - foreach($search as $s) { - if(array_key_exists($s,$ptr)) { - $ptr = $ptr[$s]; - } - else { - return false; - } - } - return true; - } - - return false; - -} - - /** * @brief Inserts an array into $table. * |