Delete code test

This commit is contained in:
Marco A. Nina Mena
2015-12-19 21:50:37 -04:00
parent 7830fcdf0a
commit ad8836199c
3 changed files with 2 additions and 2 deletions

View File

@@ -191,7 +191,6 @@ try {
if ($drive->getStatusDrive()) {
$drive->addUserDrive($aUser['USR_EMAIL']);
$drive ->addUsersDocumentDrive($appFields['APP_UID'], $_POST['form']['TASKS'], $appFields['APP_DATA']);
$drive->synchronizeDrive(false);
}
}
// Set users drive - End

View File

@@ -118,7 +118,7 @@ if (! $sw_file_exists) {
$uidDrive = $drive->changeUrlDrive($oAppDocument->Fields, $oAppDocument->getAppDocType());
$result = $drive->download($uidDrive);
//verify download
//file_put_contents($oAppDocument->Fields['APP_DOC_FILENAME'], $result);
file_put_contents($oAppDocument->Fields['APP_DOC_FILENAME'], $result);
$downloadStatus = true;
}
}

View File

@@ -121,6 +121,7 @@ if (! $sw_file_exists) {
$uidDrive = $drive->changeUrlDrive($oAppDocument->Fields, $type);
$result = $drive->download($uidDrive);
//verify download file
file_put_contents($info['basename'] . $ver . '.' . $ext , $result);
$downloadStatus = true;
}
}