mirror of
https://github.com/Icinga/icingadb-web.git
synced 2026-04-27 17:18:54 -04:00
Display a proper success message when toggling object passive checks
This commit is contained in:
parent
595814b9b8
commit
342ceca676
1 changed files with 8 additions and 0 deletions
|
|
@ -71,6 +71,14 @@ class ToggleObjectFeaturesForm extends CommandForm
|
|||
$message = t('Disabled active checks successfully');
|
||||
}
|
||||
|
||||
break;
|
||||
case ToggleObjectFeatureCommand::FEATURE_PASSIVE_CHECKS:
|
||||
if ($enabled) {
|
||||
$message = t('Enabled passive checks successfully');
|
||||
} else {
|
||||
$message = t('Disabled passive checks successfully');
|
||||
}
|
||||
|
||||
break;
|
||||
case ToggleObjectFeatureCommand::FEATURE_EVENT_HANDLER:
|
||||
if ($enabled) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue