Merged in marcoAntonioNina/processmaker/GI-208 (pull request #3423)
GI-208-C
This commit is contained in:
@@ -970,10 +970,15 @@ function synchronizeDrive ()
|
||||
return false;
|
||||
}
|
||||
|
||||
setExecutionMessage("Synchronize documents to drive");
|
||||
G::LoadClass('AppDocumentDrive');
|
||||
$drive = new AppDocumentDrive();
|
||||
$drive->synchronizeDrive(true);
|
||||
if($drive->getStatusDrive()) {
|
||||
setExecutionMessage("Synchronize documents to drive");
|
||||
$drive->synchronizeDrive(true);
|
||||
} else {
|
||||
setExecutionMessage("It has not enabled Feature Gmail");
|
||||
}
|
||||
|
||||
setExecutionResultMessage("DONE");
|
||||
|
||||
} catch (Exception $e) {
|
||||
|
||||
Reference in New Issue
Block a user