diff --git a/api/application/controllers/SMC_Credit_PD_Controller.php b/api/application/controllers/SMC_Credit_PD_Controller.php index 9747b523..bbb88c6e 100644 --- a/api/application/controllers/SMC_Credit_PD_Controller.php +++ b/api/application/controllers/SMC_Credit_PD_Controller.php @@ -312,7 +312,7 @@ class SMC_Credit_PD_Controller extends REST_Controller { $where_arr = array('PDTRIGGER.is_the_data_transfer_cet'=>0,'PDTRIGGER.pd_status' => COMPLETED,'PDTRIGGER.pd_id'=>$smc_credit_pd); $details = $this->SMC_Credit_PD_Model->selectCustomRecords($columns, $where_arr, $table); if(!empty($details)){ - $response = $this->dataSynchronization($smc_credit_pd,1); + $response = $this->dataSynchronization($smc_credit_pd,0); //print_r($response);die; $data['CETresponse'] = $response; if($response){ @@ -378,7 +378,7 @@ class SMC_Credit_PD_Controller extends REST_Controller { $smc_credit_pd = $details[$i]['pd_id']; log_message('ERROR', "smcCreditPD inx = $i ".$smc_credit_pd); // echo $smc_credit_pd; - $result = $this->dataSynchronization($smc_credit_pd,1); + $result = $this->dataSynchronization($smc_credit_pd,0); $data['CETresponse'][$smc_credit_pd] = $result; sleep(2); // $flag = $result == true ? $flag+1 : $flag;