Skip to content
Snippets Groups Projects
Commit a9dbfc68 authored by Uma's avatar Uma
Browse files

Merge branch 'scheduled_workflow_defined_globally' into 'master'

Fixes #66 Scheduled workflow count defined globally

See merge request !559
parents 85c45555 3f8414e3
No related branches found
No related tags found
No related merge requests found
......@@ -175,5 +175,8 @@ if(isset($default_timezone) && function_exists('date_default_timezone_set')) {
//Set the default layout
$default_layout = 'v7';
//Maximiun scheduled workflows default value set to 10
$max_scheduled_workflows = 10;
include_once 'config.security.php';
?>
......@@ -111,7 +111,8 @@ class VTWorkflowManager{
* @return int
*/
function getMaxAllowedScheduledWorkflows() {
return 10;
global $max_scheduled_workflows;
return $max_scheduled_workflows;
}
function getWorkflowsForModule($moduleName){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment