From 23b3cac2b479454f45b42f5345575e8b4af61891 Mon Sep 17 00:00:00 2001 From: Julio Cesar Laura Date: Fri, 21 Sep 2012 10:45:13 -0400 Subject: [PATCH] Change the order of the execution of the actions to prevent that a problem in the plugin blocks the other actions --- workflow/engine/bin/cron_single.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workflow/engine/bin/cron_single.php b/workflow/engine/bin/cron_single.php index 65998a582..8579cdc56 100755 --- a/workflow/engine/bin/cron_single.php +++ b/workflow/engine/bin/cron_single.php @@ -218,10 +218,10 @@ function processWorkspace() resendEmails(); unpauseApplications(); calculateDuration(); - executePlugins(); executeEvents($sLastExecution); executeScheduledCases(); executeUpdateAppTitle(); + executePlugins(); } catch (Exception $oError) { saveLog("main", "error", "Error processing workspace : " . $oError->getMessage() . "\n"); }