Merge branch 'ent-3338-Bulk-operations-Module-operations' into 'develop'
Changed the order of actions See merge request artica/pandorafms!2139 Former-commit-id: 13b7155ec497027e521f3a9b2147b9e24692e0db
This commit is contained in:
commit
ec97e54dec
|
@ -57,9 +57,9 @@ if (check_acl($config['id_user'], 0, 'PM')) {
|
||||||
}
|
}
|
||||||
|
|
||||||
$options_modules = [
|
$options_modules = [
|
||||||
'delete_modules' => __('Bulk module delete'),
|
|
||||||
'edit_modules' => __('Bulk module edit'),
|
'edit_modules' => __('Bulk module edit'),
|
||||||
'copy_modules' => __('Bulk module copy'),
|
'copy_modules' => __('Bulk module copy'),
|
||||||
|
'delete_modules' => __('Bulk module delete'),
|
||||||
];
|
];
|
||||||
|
|
||||||
$options_plugins = [
|
$options_plugins = [
|
||||||
|
@ -79,7 +79,7 @@ if ($policies_options != ENTERPRISE_NOT_HOOK) {
|
||||||
|
|
||||||
$options_snmp = [];
|
$options_snmp = [];
|
||||||
$snmp_options = enterprise_hook('massive_snmp_options');
|
$snmp_options = enterprise_hook('massive_snmp_options');
|
||||||
|
$snmp_options = array_reverse($snmp_options);
|
||||||
if ($snmp_options != ENTERPRISE_NOT_HOOK) {
|
if ($snmp_options != ENTERPRISE_NOT_HOOK) {
|
||||||
$options_snmp = array_merge($options_snmp, $snmp_options);
|
$options_snmp = array_merge($options_snmp, $snmp_options);
|
||||||
}
|
}
|
||||||
|
@ -384,4 +384,3 @@ switch ($option) {
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue