Fix: Deleting downtimes doesn't work

Fixes #3825
This commit is contained in:
Gunnar Beutner 2013-03-12 22:49:11 +01:00
parent 5608b3c0d3
commit 5b662b3c76
1 changed files with 1 additions and 1 deletions

View 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();
}