Revision ACL part 3

This commit is contained in:
Calvo 2021-09-02 15:43:20 +02:00
parent 3204fdb71f
commit 2ca6f52598
1 changed files with 3 additions and 2 deletions

View File

@ -527,7 +527,6 @@ function menu_add_extras(&$menu)
$menu_extra['galertas']['sub']['godmode/alerts/configure_alert_action']['text'] = __('Manage alert actions');
$menu_extra['galertas']['sub']['godmode/alerts/configure_alert_command']['text'] = __('Manage commands');
$menu_extra['galertas']['sub']['enterprise/godmode/alerts/alert_correlation']['text'] = __('Manage event alerts');
$menu_extra['gservers']['sub']['enterprise/godmode/servers/manage_export_form']['text'] = __('Manage export targets');
@ -551,10 +550,12 @@ function menu_add_extras(&$menu)
foreach ($m['sub'] as $kk => $mm) {
if (isset($mm['sec'])) {
if (empty($menu[$mm['sec']]['sub'][$kk]['text']) === true) {
$menu_extra[$mm['sec']]['sub'][$kk]['text'] = $mm['text'];
}
}
}
}
$menu = array_merge_recursive($menu, $menu_extra);