Delete code test
This commit is contained in:
@@ -191,7 +191,6 @@ try {
|
|||||||
if ($drive->getStatusDrive()) {
|
if ($drive->getStatusDrive()) {
|
||||||
$drive->addUserDrive($aUser['USR_EMAIL']);
|
$drive->addUserDrive($aUser['USR_EMAIL']);
|
||||||
$drive ->addUsersDocumentDrive($appFields['APP_UID'], $_POST['form']['TASKS'], $appFields['APP_DATA']);
|
$drive ->addUsersDocumentDrive($appFields['APP_UID'], $_POST['form']['TASKS'], $appFields['APP_DATA']);
|
||||||
$drive->synchronizeDrive(false);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Set users drive - End
|
// Set users drive - End
|
||||||
|
|||||||
@@ -118,7 +118,7 @@ if (! $sw_file_exists) {
|
|||||||
$uidDrive = $drive->changeUrlDrive($oAppDocument->Fields, $oAppDocument->getAppDocType());
|
$uidDrive = $drive->changeUrlDrive($oAppDocument->Fields, $oAppDocument->getAppDocType());
|
||||||
$result = $drive->download($uidDrive);
|
$result = $drive->download($uidDrive);
|
||||||
//verify download
|
//verify download
|
||||||
//file_put_contents($oAppDocument->Fields['APP_DOC_FILENAME'], $result);
|
file_put_contents($oAppDocument->Fields['APP_DOC_FILENAME'], $result);
|
||||||
$downloadStatus = true;
|
$downloadStatus = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -121,6 +121,7 @@ if (! $sw_file_exists) {
|
|||||||
$uidDrive = $drive->changeUrlDrive($oAppDocument->Fields, $type);
|
$uidDrive = $drive->changeUrlDrive($oAppDocument->Fields, $type);
|
||||||
$result = $drive->download($uidDrive);
|
$result = $drive->download($uidDrive);
|
||||||
//verify download file
|
//verify download file
|
||||||
|
file_put_contents($info['basename'] . $ver . '.' . $ext , $result);
|
||||||
$downloadStatus = true;
|
$downloadStatus = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user