diff --git a/pandora_console/godmode/menu.php b/pandora_console/godmode/menu.php index 95630e6210..4bf2c42bf9 100644 --- a/pandora_console/godmode/menu.php +++ b/pandora_console/godmode/menu.php @@ -60,7 +60,7 @@ if (check_acl($config['id_user'], 0, 'AR') // Add to menu. $menu_godmode['discovery']['text'] = __('Discovery'); - $menu_godmode['discovery']['sec2'] = 'godmode/servers/discovery'; + $menu_godmode['discovery']['sec2'] = ''; $menu_godmode['discovery']['id'] = 'god-discovery'; $menu_godmode['discovery']['sub'] = $sub; } diff --git a/pandora_console/include/functions_menu.php b/pandora_console/include/functions_menu.php index d57908f420..706353f6e4 100644 --- a/pandora_console/include/functions_menu.php +++ b/pandora_console/include/functions_menu.php @@ -653,13 +653,6 @@ function menu_get_sec_pages($sec, $menu_hash=false) } } - // If this value has various parameters, we only get the first. - $k = explode('&', $k); - $k = $k[0]; - if (is_array($v['text']) === true) { - $v['text'] = $v['text'][0]; - } - $sec2_array[$k] = $v['text']; } } @@ -755,12 +748,6 @@ function menu_pepare_acl_select_data($pages, $sec) 'gmodules' => 'godmode/modules/manage_network_templates', 'geventos' => 'godmode/events/events&section=filter', 'gsetup' => 'godmode/setup/setup§ion=general', - 'messages' => [ - 'godmode/update_manager/update_manager&tab=online', - 'godmode/update_manager/update_manager&tab=offline', - 'godmode/update_manager/update_manager&tab=setup', - ], - ]; foreach ($exclude_pages as $exclude_sec => $sec2) {