api changes: ps
This commit is contained in:
parent
792ff79582
commit
de3db7ccac
@ -9784,20 +9784,19 @@ public function getCompaniesListsFromGeneralFormRawJSON_post()
|
|||||||
// To Inactive Video Recorded.
|
// To Inactive Video Recorded.
|
||||||
public function deleteVideo_get(){
|
public function deleteVideo_get(){
|
||||||
$id = $this->get('id');
|
$id = $this->get('id');
|
||||||
$id = (int) $id;
|
// $id = (int) $id;
|
||||||
if(!empty($id)){
|
// if(!empty($id)){
|
||||||
// $multipleWhere['fk_pd_id'] = $multipleWhere['pd_id'];
|
// // $multipleWhere['fk_pd_id'] = $multipleWhere['pd_id'];
|
||||||
// unset($multipleWhere['pd_id']);
|
// // unset($multipleWhere['pd_id']);
|
||||||
$this->load->helper('video_grabber_helper');
|
$this->load->helper('video_grabber_helper');
|
||||||
$result_data = (new video_grabber_helper)->deleteVideo($id);
|
$result_data = (new video_grabber_helper)->deleteVideo($id);
|
||||||
}else{
|
// }else{
|
||||||
$result_data = "ID Not Available. Unable to Delete";
|
// $result_data = "ID Not Available. Unable to Delete";
|
||||||
}
|
// }
|
||||||
$data['dataStatus'] = true;
|
$data['dataStatus'] = true;
|
||||||
$data['status'] = REST_Controller::HTTP_OK;
|
$data['status'] = REST_Controller::HTTP_OK;
|
||||||
$data['msg'] = $result_data ;
|
$data['msg'] = $result_data ;
|
||||||
$this->response($data,REST_Controller::HTTP_OK);
|
$this->response($data,REST_Controller::HTTP_OK);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function updateTwlioVideoStatus_post()
|
function updateTwlioVideoStatus_post()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user