mirror of https://github.com/Icinga/icinga2.git
Remove unnecessary check.
This commit is contained in:
parent
e045ece3de
commit
afbfdb2579
|
@ -345,11 +345,9 @@ void Service::RemoveExpiredDowntimes(void)
|
|||
}
|
||||
}
|
||||
|
||||
if (!expiredDowntimes.empty()) {
|
||||
BOOST_FOREACH(const String& id, expiredDowntimes) {
|
||||
RemoveDowntime(id, false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void Service::DowntimesExpireTimerHandler(void)
|
||||
|
|
Loading…
Reference in New Issue