#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…
Reference in New Issue