Removed another unused (and potential dangerous) function
这个提交包含在:
父节点
1e269b18b2
当前提交
ec2b2b14f0
共有 1 个文件被更改,包括 0 次插入 和 12 次删除
|
|
@ -2629,18 +2629,6 @@ class Logbook_model extends CI_Model {
|
|||
}
|
||||
}
|
||||
|
||||
function api_insert_query($query) {
|
||||
$time_start = microtime(true);
|
||||
$results = $this->db->insert($this->config->item('table_name'), $query);
|
||||
if(!$results) {
|
||||
return array('query' => $query, 'error' => $this->db->_error_number(), 'time' => 0);
|
||||
}
|
||||
$time_end = microtime(true);
|
||||
$time = round($time_end - $time_start, 4);
|
||||
|
||||
return array('query' => $this->db->queries[2], 'result_string' => $results, 'time' => $time);
|
||||
}
|
||||
|
||||
/* Delete QSO based on the QSO ID */
|
||||
function delete($id) {
|
||||
if ($this->check_qso_is_accessible($id)) {
|
||||
|
|
|
|||
正在加载…
在新工单中引用