diff options
Diffstat (limited to 'apps/workflowengine/js/admin.js')
-rw-r--r-- | apps/workflowengine/js/admin.js | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/apps/workflowengine/js/admin.js b/apps/workflowengine/js/admin.js index 590274b8770..394c580fbb5 100644 --- a/apps/workflowengine/js/admin.js +++ b/apps/workflowengine/js/admin.js @@ -35,7 +35,7 @@ return []; }); - OCA.WorkflowEngine = OCA.WorkflowEngine || { + OCA.WorkflowEngine = _.extend(OCA.WorkflowEngine || {}, { availablePlugins: [], availableChecks: [], @@ -48,7 +48,7 @@ } return undefined; } - }; + }); /** * 888b d888 888 888 @@ -337,9 +337,6 @@ _initialize: function(classname) { OCA.WorkflowEngine.availablePlugins = OC.Plugins.getPlugins('OCA.WorkflowEngine.CheckPlugins'); _.each(OCA.WorkflowEngine.availablePlugins, function(plugin) { - if (_.isFunction(plugin.initialize)) { - plugin.initialize(); - } if (_.isFunction(plugin.getCheck)) { OCA.WorkflowEngine.availableChecks.push(plugin.getCheck()); } |