mirror of https://github.com/Icinga/icinga2.git
Merge pull request #7818 from Icinga/bugfix/no_more_notifications-7758
Don't set Notification#no_more_notifications on custom notifications
This commit is contained in:
commit
2931aea9bb
|
@ -389,7 +389,7 @@ void Notification::BeginExecuteNotification(NotificationType type, const CheckRe
|
||||||
|
|
||||||
if (type == NotificationProblem && GetInterval() <= 0)
|
if (type == NotificationProblem && GetInterval() <= 0)
|
||||||
SetNoMoreNotifications(true);
|
SetNoMoreNotifications(true);
|
||||||
else
|
else if (type != NotificationCustom)
|
||||||
SetNoMoreNotifications(false);
|
SetNoMoreNotifications(false);
|
||||||
|
|
||||||
if (type == NotificationProblem && GetInterval() > 0)
|
if (type == NotificationProblem && GetInterval() > 0)
|
||||||
|
|
Loading…
Reference in New Issue