diff --git a/workflow/engine/classes/class.wsTools.php b/workflow/engine/classes/class.wsTools.php index fa9bb02c1..b6bbc5397 100644 --- a/workflow/engine/classes/class.wsTools.php +++ b/workflow/engine/classes/class.wsTools.php @@ -145,6 +145,13 @@ class workspaceTools $final = $stop - $start; CLI::logging("<*> Check Mafe Requirements Process took $final seconds.\n"); + $start = microtime(true); + CLI::logging("> Updating Triggers...\n"); + $this->updateTriggers(true, $lang); + $stop = microtime(true); + $final = $stop - $start; + CLI::logging("<*> Updating Triggers Process took $final seconds.\n"); + $start = microtime(true); CLI::logging("> Backup log files...\n"); $this->backupLogFiles(); @@ -3784,4 +3791,14 @@ class workspaceTools } } + /** + * Updating triggers + * @param $flagRecreate + * @param $lang + */ + public function updateTriggers($flagRecreate, $lang) + { + $this->initPropel(true); + $this->upgradeTriggersOfTables($flagRecreate, $lang); + } }