diff --git a/htdocs/includes/modules/modWorkflow.class.php b/htdocs/includes/modules/modWorkflow.class.php index 3880b577916..6e81334ccf4 100644 --- a/htdocs/includes/modules/modWorkflow.class.php +++ b/htdocs/includes/modules/modWorkflow.class.php @@ -69,7 +69,7 @@ class modWorkflow extends DolibarrModules $this->picto='workflow@workflow'; // Defined if the directory /mymodule/inc/triggers/ contains triggers or not - $this->triggers = 0; + $this->triggers = 1; // Data directories to create when module is enabled $this->dirs = array("/workflow/temp"); diff --git a/htdocs/workflow/triggers/interface_modWorkflow_WorkflowManager.class.php b/htdocs/workflow/inc/triggers/interface_modWorkflow_WorkflowManager.class.php similarity index 100% rename from htdocs/workflow/triggers/interface_modWorkflow_WorkflowManager.class.php rename to htdocs/workflow/inc/triggers/interface_modWorkflow_WorkflowManager.class.php