Merge branch '2332-Feature-sincronización-de-políticas-y-colecciones-dev' into 'develop'

Added token metaconsole_deploy_inventory_plugin in functions_config

See merge request artica/pandorafms!2087

Former-commit-id: 2c88fee48fa7fdf8df86566006035c96f1424397
This commit is contained in:
vgilc 2018-12-17 12:14:43 +01:00
commit b25686713d
1 changed files with 8 additions and 0 deletions

View File

@ -2027,6 +2027,14 @@ function config_process_config () {
if (!isset($config["metaconsole_deploy_collection"])) {
config_update_value('metaconsole_deploy_collection', 0);
}
if (!isset($config["metaconsole_deploy_inventory_plugin"])) {
config_update_value('metaconsole_deploy_inventory_plugin', 0);
}
if (!isset($config["metaconsole_deploy_plugin_server"])) {
config_update_value('metaconsole_deploy_plugin_server', 0);
}
}
/* Finally, check if any value was overwritten in a form */