mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 09:15:15 +02:00
#11428 Add delete agent to warning conditional
This commit is contained in:
parent
eada3f7079
commit
3771644661
@ -435,12 +435,14 @@ if (is_management_allowed() === false) {
|
||||
$text_warning = __('any node');
|
||||
}
|
||||
|
||||
ui_print_warning_message(
|
||||
__(
|
||||
'This node is configured with centralized mode. To delete agents go to %s',
|
||||
$text_warning
|
||||
)
|
||||
);
|
||||
if ($option == 'delete_agents') {
|
||||
ui_print_warning_message(
|
||||
__(
|
||||
'This node is configured with centralized mode. To delete agents go to %s',
|
||||
$text_warning
|
||||
)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
$tip = '';
|
||||
|
Loading…
x
Reference in New Issue
Block a user