move bulk operations services pandora_enterprise#7749

This commit is contained in:
Daniel Barbero Martin 2022-07-27 11:37:23 +02:00
parent 95d369cca0
commit e5d1145f0a
2 changed files with 0 additions and 18 deletions

View File

@ -119,11 +119,6 @@ if ($satellite_options != ENTERPRISE_NOT_HOOK) {
$options_satellite = array_merge($options_satellite, $satellite_options);
}
$options_services = enterprise_hook('massive_services_options');
if ($options_services === ENTERPRISE_NOT_HOOK) {
$options_services = [];
}
if (in_array($option, array_keys($options_alerts)) === true) {
$tab = 'massive_alerts';
@ -141,8 +136,6 @@ if (in_array($option, array_keys($options_alerts)) === true) {
$tab = 'massive_satellite';
} else if (in_array($option, array_keys($options_plugins)) === true) {
$tab = 'massive_plugins';
} else if (in_array($option, array_keys($options_services)) === true) {
$tab = 'massive_services';
}
if ($tab === 'massive_agents' && empty($option) === true) {
@ -211,10 +204,6 @@ switch ($tab) {
$options = $options_plugins;
break;
case 'massive_services':
$options = $options_services;
break;
default:
// Default.
break;
@ -303,12 +292,6 @@ if ($satellitetab == ENTERPRISE_NOT_HOOK) {
$satellitetab = '';
}
$servicestab = enterprise_hook('massive_services_tab');
if ($servicestab == ENTERPRISE_NOT_HOOK) {
$servicestab = '';
}
$onheader = [];
$onheader['massive_agents'] = $agentstab;
$onheader['massive_modules'] = $modulestab;

View File

@ -202,7 +202,6 @@ if ((bool) check_acl($config['id_user'], 0, 'AW') === true) {
enterprise_hook('massivepolicies_submenu');
enterprise_hook('massivesnmp_submenu');
enterprise_hook('massivesatellite_submenu');
enterprise_hook('massiveservices_submenu');
$sub['gmassive']['sub2'] = $sub2;
$sub2 = [];