Update database.php

This commit is contained in:
Namhyeon Go 2018-03-23 18:24:24 +09:00 committed by GitHub
parent c20225c9e1
commit 453fd2544a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -181,20 +181,6 @@ if(!function_exists("exec_db_fetch")) {
}
}
if(!function_exists("get_value_in_array")) {
function get_value_in_array($name, $arr=array(), $default=0) {
$output = 0;
if(is_array($arr)) {
$output = array_key_empty($name, $arr) ? $default : $arr[$name];
} else {
$output = $default;
}
return $output;
}
}
if(!function_exists("get_page_range")) {
function get_page_range($page=1, $limit=0) {
$append_sql = "";