reverted : ps
This commit is contained in:
parent
c9970c3a08
commit
86097a4b46
@ -43,8 +43,8 @@ class Request_DataDump_Controller extends REST_Controller {
|
||||
// echo $memory_limit;die();
|
||||
$records = $this->post();
|
||||
if(!empty($records)){
|
||||
// $id = $this->Data_Dump_Model->saveRecords($records, DATADUMPREQUEST);
|
||||
$id = 17;
|
||||
$id = $this->Data_Dump_Model->saveRecords($records, DATADUMPREQUEST);
|
||||
// $id = 17;
|
||||
log_message('ERROR','## 1) saveDatadumpRequest Fns RequestID - '.$id);
|
||||
if ($id) {
|
||||
$data['dataStatus'] = true;
|
||||
@ -1950,8 +1950,8 @@ class Request_DataDump_Controller extends REST_Controller {
|
||||
// Save .xlsx file to the current directory
|
||||
$filename = "DRID".$id."_".date('Ymd_hmi').".xlsx";
|
||||
$writer->save(XLPATH.'/dump/'.$filename);
|
||||
// $result = $this->uploadXltoAWS($id,$filename);
|
||||
$result = true;
|
||||
$result = $this->uploadXltoAWS($id,$filename);
|
||||
// $result = true;
|
||||
return $result;
|
||||
}
|
||||
else
|
||||
|
||||
Loading…
Reference in New Issue
Block a user