MCPcopy Create free account
hub / github.com/Icinga/icinga2 / ResetNotificationNumbers

Method ResetNotificationNumbers

lib/icinga/checkable-notification.cpp:26–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24 const MessageOrigin::Ptr&)> Checkable::OnNotificationSentToUser;
25
26void Checkable::ResetNotificationNumbers()
27{
28 for (const Notification::Ptr& notification : GetNotifications()) {
29 ObjectLock olock(notification);
30 notification->ResetNotificationNumber();
31 }
32}
33
34void Checkable::SendNotifications(NotificationType type, const CheckResult::Ptr& cr, const String& author, const String& text)
35{

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected