Update uri.php

This commit is contained in:
Namhyeon Go 2018-04-15 01:25:41 +09:00 committed by GitHub
parent 5341e86b5d
commit b9744dc9b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -180,21 +180,6 @@ if(!function_exists("get_binded_requests")) {
} }
} }
if(!function_exists("get_filtered_requests")) {
function get_filtered_requests($filter_keys, $method="_ALL") {
$data = array();
$requests = get_requests("requests");
if(array_key_exists($method, $requests)) {
foreach($filter_keys as $name) {
if(array_key_exists($name, $requests[$method])) {
$data[$name] = $requests[$method][$name];
}
}
}
return $data;
}
}
if(!function_exists("get_array")) { if(!function_exists("get_array")) {
function get_array($arr) { function get_array($arr) {
return is_array($arr) ? $arr : array(); return is_array($arr) ? $arr : array();