]> granicus.if.org Git - icinga2/commitdiff
Fix that dis-/enabling notifications affect active checks
authorJohannes Meyer <johannes.meyer@netways.de>
Mon, 20 Jan 2014 10:12:03 +0000 (11:12 +0100)
committerJohannes Meyer <johannes.meyer@netways.de>
Mon, 20 Jan 2014 10:12:03 +0000 (11:12 +0100)
fixes #5500

lib/icinga/service-notification.cpp

index 38873eeaa4fcd8f2c5fd289d3354e47afba4ccc4..8fbb4fdbade4f51b54965a99fb0378fe837d98ab 100644 (file)
@@ -169,7 +169,7 @@ bool Service::GetEnableNotifications(void) const
 
 void Service::SetEnableNotifications(bool enabled, const String& authority)
 {
-       SetOverrideEnableActiveChecks(enabled);
+       SetOverrideEnableNotifications(enabled);
 
        OnEnableNotificationsChanged(GetSelf(), enabled, authority);
 }