Change the order of the execution of the actions to prevent that a problem in the plugin blocks the other actions

This commit is contained in:
Julio Cesar Laura
2012-09-21 10:45:13 -04:00
parent 9cd7bdae2d
commit 23b3cac2b4

View File

@@ -218,10 +218,10 @@ function processWorkspace()
resendEmails(); resendEmails();
unpauseApplications(); unpauseApplications();
calculateDuration(); calculateDuration();
executePlugins();
executeEvents($sLastExecution); executeEvents($sLastExecution);
executeScheduledCases(); executeScheduledCases();
executeUpdateAppTitle(); executeUpdateAppTitle();
executePlugins();
} catch (Exception $oError) { } catch (Exception $oError) {
saveLog("main", "error", "Error processing workspace : " . $oError->getMessage() . "\n"); saveLog("main", "error", "Error processing workspace : " . $oError->getMessage() . "\n");
} }