Commit 3f8414e3 authored by Uma's avatar Uma
Browse files

Fixes #66 Scheduled workflow count defined globally

parent 8fae403d
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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';
?>
+2 −1
Original line number Diff line number Diff line
@@ -111,7 +111,8 @@ class VTWorkflowManager{
	 * @return int
	 */
	function getMaxAllowedScheduledWorkflows() {
		return 10;
        global $max_scheduled_workflows;
		return $max_scheduled_workflows;
	}

	function getWorkflowsForModule($moduleName){