up observations

This commit is contained in:
qronald
2017-02-06 13:37:20 -04:00
parent 9620a7bb34
commit fc7c3b6a2b

View File

@@ -92,9 +92,6 @@ if ($handle = opendir( PATH_PLUGINS )) {
/** /**
* Calls PMExtensionClass Builder to include Plugins changes. * Calls PMExtensionClass Builder to include Plugins changes.
*/ */
$config = Bootstrap::getSystemConfiguration();
$activeExperimentalFeatures = isset($config['experimental_features']) ? $config['experimental_features'] : true;
if ($activeExperimentalFeatures) {
$phpBuilder = new ProcessMakerPhpBuilderHelper(); $phpBuilder = new ProcessMakerPhpBuilderHelper();
$phpBuilder->enabledExtensions = $oPluginRegistry->getEnabledPlugins(); $phpBuilder->enabledExtensions = $oPluginRegistry->getEnabledPlugins();
if (!empty($phpBuilder->enabledExtensions)) { if (!empty($phpBuilder->enabledExtensions)) {
@@ -102,7 +99,6 @@ if ($handle = opendir( PATH_PLUGINS )) {
} }
$phpBuilder->buildAll(); $phpBuilder->buildAll();
} }
}
//$oPluginRegistry->showArrays(); //$oPluginRegistry->showArrays();
//G::Header('location: pluginsList'); //G::Header('location: pluginsList');