From 5b662b3c764ab7631fa64b979cc74f7e24505600 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Tue, 12 Mar 2013 22:49:11 +0100 Subject: [PATCH] Fix: Deleting downtimes doesn't work Fixes #3825 --- lib/icinga/service-downtime.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/icinga/service-downtime.cpp b/lib/icinga/service-downtime.cpp index 3d0433682..fb608f591 100644 --- a/lib/icinga/service-downtime.cpp +++ b/lib/icinga/service-downtime.cpp @@ -257,7 +257,7 @@ void Service::InvalidateDowntimesCache(void) if (!m_DowntimesCacheTimer) { m_DowntimesCacheTimer = boost::make_shared(); m_DowntimesCacheTimer->SetInterval(0.5); - m_DowntimesCacheTimer->OnTimerExpired.connect(boost::bind(&Service::RefreshNotificationsCache)); + m_DowntimesCacheTimer->OnTimerExpired.connect(boost::bind(&Service::RefreshDowntimesCache)); m_DowntimesCacheTimer->Start(); }