mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +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');
|
$text_warning = __('any node');
|
||||||
}
|
}
|
||||||
|
|
||||||
ui_print_warning_message(
|
if ($option == 'delete_agents') {
|
||||||
__(
|
ui_print_warning_message(
|
||||||
'This node is configured with centralized mode. To delete agents go to %s',
|
__(
|
||||||
$text_warning
|
'This node is configured with centralized mode. To delete agents go to %s',
|
||||||
)
|
$text_warning
|
||||||
);
|
)
|
||||||
|
);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$tip = '';
|
$tip = '';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user