From 27ea25eae40eed64a6a0fda9bfefefd04530ae7b Mon Sep 17 00:00:00 2001 From: Marco Antonio Nina Mena Date: Mon, 19 Feb 2018 15:28:58 -0400 Subject: [PATCH] HOR-4369 When importing a custom plugin, it is imported with the status enabled. - change by default install plugin status disabled --- workflow/engine/src/ProcessMaker/Plugins/PluginRegistry.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workflow/engine/src/ProcessMaker/Plugins/PluginRegistry.php b/workflow/engine/src/ProcessMaker/Plugins/PluginRegistry.php index 76df0fab2..dc3cce7f2 100644 --- a/workflow/engine/src/ProcessMaker/Plugins/PluginRegistry.php +++ b/workflow/engine/src/ProcessMaker/Plugins/PluginRegistry.php @@ -485,7 +485,7 @@ class PluginRegistry /** @var enterprisePlugin $oPlugin */ $oPlugin = new $className($detail->getNamespace(), $detail->getFile()); $oPlugin->registerPmFunction(); - $detail->setEnabled(true); + $detail->setEnabled(false); $this->init(); $oPlugin->setup(); $this->_aPlugins[$detail->getNamespace()] = $oPlugin;