| @@ 293-298 (lines=6) @@ | ||
| 290 | } |
|
| 291 | echo json_encode($json_data); |
|
| 292 | } |
|
| 293 | function fssipdevices_delete_multiple() { |
|
| 294 | $ids = $this->input->post("selected_ids", true); |
|
| 295 | $where = "id IN ($ids)"; |
|
| 296 | $this->db->where($where); |
|
| 297 | echo $this->db->delete("sip_devices"); |
|
| 298 | } |
|
| 299 | ||
| 300 | function user_fssipdevices_delete_multiple() { |
|
| 301 | $ids = $this->input->post("selected_ids", true); |
|
| @@ 300-306 (lines=7) @@ | ||
| 297 | echo $this->db->delete("sip_devices"); |
|
| 298 | } |
|
| 299 | ||
| 300 | function user_fssipdevices_delete_multiple() { |
|
| 301 | $ids = $this->input->post("selected_ids", true); |
|
| 302 | $where = "id IN ($ids)"; |
|
| 303 | $this->db->where($where); |
|
| 304 | $this->db->delete("sip_devices"); |
|
| 305 | echo TRUE; |
|
| 306 | } |
|
| 307 | function customer_fssipdevices_delete_multiple(){ |
|
| 308 | $ids = $this->input->post("selected_ids", true); |
|
| 309 | $where = "id IN ($ids)"; |
|
| @@ 307-313 (lines=7) @@ | ||
| 304 | $this->db->delete("sip_devices"); |
|
| 305 | echo TRUE; |
|
| 306 | } |
|
| 307 | function customer_fssipdevices_delete_multiple(){ |
|
| 308 | $ids = $this->input->post("selected_ids", true); |
|
| 309 | $where = "id IN ($ids)"; |
|
| 310 | $this->db->where($where); |
|
| 311 | $this->db->delete("sip_devices"); |
|
| 312 | echo TRUE; |
|
| 313 | } |
|
| 314 | ||
| 315 | /****** |
|
| 316 | ASTPP 3.0 |
|
| @@ 1350-1355 (lines=6) @@ | ||
| 1347 | redirect(base_url() . "user/user_sipdevices/"); |
|
| 1348 | } |
|
| 1349 | ||
| 1350 | function user_sipdevices_delete_multiple(){ |
|
| 1351 | $ids = $this->input->post("selected_ids", true); |
|
| 1352 | $where = "id IN ($ids)"; |
|
| 1353 | $this->db->delete("sip_devices",$where); |
|
| 1354 | echo TRUE; |
|
| 1355 | } |
|
| 1356 | ||
| 1357 | function user_animap_list() { |
|
| 1358 | $data['page_title'] = 'Caller ID'; |
|