From: Gunnar Beutner Date: Tue, 12 Mar 2013 21:49:11 +0000 (+0100) Subject: Fix: Deleting downtimes doesn't work X-Git-Tag: v0.0.2~262 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5b662b3c764ab7631fa64b979cc74f7e24505600;p=icinga2 Fix: Deleting downtimes doesn't work Fixes #3825 --- 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(); }