From 6366040ec271d99918769f6759b7d41a108f2177 Mon Sep 17 00:00:00 2001 From: Daniel Barbero Martin Date: Thu, 17 Jun 2021 17:09:44 +0200 Subject: [PATCH] Wip command center, check versions php.ini --- .../godmode/agentes/module_manager_editor_common.php | 1 - pandora_console/include/functions_network_components.php | 5 +---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/pandora_console/godmode/agentes/module_manager_editor_common.php b/pandora_console/godmode/agentes/module_manager_editor_common.php index 094f9056f2..7905a1a00a 100644 --- a/pandora_console/godmode/agentes/module_manager_editor_common.php +++ b/pandora_console/godmode/agentes/module_manager_editor_common.php @@ -109,7 +109,6 @@ function add_component_selection($id_network_component_type) $component_groups = network_components_get_groups($id_network_component_type); - hd($component_groups); $data[1] = ''; $data[1] .= html_print_select( $component_groups, diff --git a/pandora_console/include/functions_network_components.php b/pandora_console/include/functions_network_components.php index 725a2fcbeb..b0cdf1d548 100644 --- a/pandora_console/include/functions_network_components.php +++ b/pandora_console/include/functions_network_components.php @@ -265,8 +265,7 @@ function network_components_get_group($id_network_component_group, $filter=false */ function network_components_get_groups($id_module_components=0, $localComponent=false) { - hd($id_module_components); - // Special vars to keep track of indentation level + // Special vars to keep track of indentation level. static $level = 0; static $id_parent = 0; global $config; @@ -297,8 +296,6 @@ function network_components_get_groups($id_module_components=0, $localComponent= $id_parent = $tmp; $level--; - hd($localComponent); - if ($localComponent) { if (! empty($childs)) { $retval[$group['id_sg']] = $prefix.$group['name'];