UPLOAD IMG DISABLED WHILE DATA PUSH
This commit is contained in:
parent
f99e242830
commit
e18ef304ae
@ -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);
|
$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);
|
$details = $this->SMC_Credit_PD_Model->selectCustomRecords($columns, $where_arr, $table);
|
||||||
if(!empty($details)){
|
if(!empty($details)){
|
||||||
$response = $this->dataSynchronization($smc_credit_pd,1);
|
$response = $this->dataSynchronization($smc_credit_pd,0);
|
||||||
//print_r($response);die;
|
//print_r($response);die;
|
||||||
$data['CETresponse'] = $response;
|
$data['CETresponse'] = $response;
|
||||||
if($response){
|
if($response){
|
||||||
@ -378,7 +378,7 @@ class SMC_Credit_PD_Controller extends REST_Controller {
|
|||||||
$smc_credit_pd = $details[$i]['pd_id'];
|
$smc_credit_pd = $details[$i]['pd_id'];
|
||||||
log_message('ERROR', "smcCreditPD inx = $i ".$smc_credit_pd);
|
log_message('ERROR', "smcCreditPD inx = $i ".$smc_credit_pd);
|
||||||
// echo $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;
|
$data['CETresponse'][$smc_credit_pd] = $result;
|
||||||
sleep(2);
|
sleep(2);
|
||||||
// $flag = $result == true ? $flag+1 : $flag;
|
// $flag = $result == true ? $flag+1 : $flag;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user