From e5d1145f0a4ed26fe190c57ed0cd2448acfeb81a Mon Sep 17 00:00:00 2001 From: Daniel Barbero Martin Date: Wed, 27 Jul 2022 11:37:23 +0200 Subject: [PATCH] move bulk operations services pandora_enterprise#7749 --- .../godmode/massive/massive_operations.php | 17 ----------------- pandora_console/godmode/menu.php | 1 - 2 files changed, 18 deletions(-) diff --git a/pandora_console/godmode/massive/massive_operations.php b/pandora_console/godmode/massive/massive_operations.php index c066816dfd..473983d9db 100755 --- a/pandora_console/godmode/massive/massive_operations.php +++ b/pandora_console/godmode/massive/massive_operations.php @@ -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; diff --git a/pandora_console/godmode/menu.php b/pandora_console/godmode/menu.php index 1337098126..9a315949fc 100644 --- a/pandora_console/godmode/menu.php +++ b/pandora_console/godmode/menu.php @@ -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 = [];