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