From a48600a599e8e839e5613f252078103e7f3336c2 Mon Sep 17 00:00:00 2001 From: VE10-Sanjeev Date: Thu, 15 Dec 2022 10:34:11 +0530 Subject: [PATCH] Code Reverted FI archive : ps --- api/application/controllers/PD_Controller.php | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/api/application/controllers/PD_Controller.php b/api/application/controllers/PD_Controller.php index 87724af6..57ef5cf5 100644 --- a/api/application/controllers/PD_Controller.php +++ b/api/application/controllers/PD_Controller.php @@ -929,17 +929,6 @@ class PD_Controller extends REST_Controller log_message('ERROR','####COMPLETE SMC IMAGE PDF = '.$PDF); unset($pd_details['is_this_smc_pd']); } - if($exist_pd_details[0]['fk_pd_type'] == 4){ - $random_string = $this->PD_Model->selectCustomRecords(array('random_string'),array('pd_id' => $pd_details['pd_id']),PDTRIGGER); - $random_string = $random_string[0]['random_string']; - $regenerate = 0 ; - $this->load->helper('photo_zip_creator'); - $this->load->helper('photo_pdf_converter'); - $ZIP = (new photo_zip_creator)->covertImgs2ZIP($pd_details['pd_id'], $random_string, array(), $regenerate); - $PDF = (new photo_pdf_converter)->covertImgs2PDF($pd_details['pd_id'], $random_string, array(), $regenerate); - log_message('ERROR','####COMPLETE FI IMAGE ZIP = '.$ZIP); - log_message('ERROR','####COMPLETE FI IMAGE PDF = '.$PDF); - } }