Commit a32c94df by Jansa Jose

Merge branch 'jansa'

parents d3b4696b c8c681aa
......@@ -2475,7 +2475,7 @@ class Webservice extends CI_Controller {
if(isset($type) && !empty($type)){
$result = $this->db->query('SELECT * FROM `tbl_waiting_list_id_crone` WHERE booking_id ='.$type)->result_array();
}else{
$result = $this->db->query('SELECT * FROM `tbl_waiting_list_id_crone` WHERE TIMESTAMPDIFF(minute, `push_time`, NOW()) > 20 AND status = 1')->result_array();
$result = $this->db->query('SELECT * FROM `tbl_waiting_list_id_crone` WHERE TIMESTAMPDIFF(minute, `push_time`, NOW()) > 15 AND status = 1')->result_array();
}
foreach ($result as $key => $value){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment