From de3db7ccac4caae8a87b95bca84ee1b020f250ed Mon Sep 17 00:00:00 2001 From: Sanjeev Date: Fri, 2 Jul 2021 16:36:54 +0530 Subject: [PATCH] api changes: ps --- api/application/controllers/PD_Controller.php | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/api/application/controllers/PD_Controller.php b/api/application/controllers/PD_Controller.php index 6ded015f..6cb25982 100644 --- a/api/application/controllers/PD_Controller.php +++ b/api/application/controllers/PD_Controller.php @@ -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()