]> granicus.if.org Git - icinga2/commitdiff
Fix: Deleting downtimes doesn't work
authorGunnar Beutner <gunnar.beutner@netways.de>
Tue, 12 Mar 2013 21:49:11 +0000 (22:49 +0100)
committerGunnar Beutner <gunnar.beutner@netways.de>
Tue, 12 Mar 2013 21:49:11 +0000 (22:49 +0100)
Fixes #3825

lib/icinga/service-downtime.cpp

index 3d0433682585cbfc395cdb3bcdfcca5a20673c10..fb608f591bd9a58d9ca75464b4a405b508b9e87e 100644 (file)
@@ -257,7 +257,7 @@ void Service::InvalidateDowntimesCache(void)
        if (!m_DowntimesCacheTimer) {
                m_DowntimesCacheTimer = boost::make_shared<Timer>();
                m_DowntimesCacheTimer->SetInterval(0.5);
-               m_DowntimesCacheTimer->OnTimerExpired.connect(boost::bind(&Service::RefreshNotificationsCache));
+               m_DowntimesCacheTimer->OnTimerExpired.connect(boost::bind(&Service::RefreshDowntimesCache));
                m_DowntimesCacheTimer->Start();
        }