mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-21 20:54:35 +02:00
Remove unnecessary check.
This commit is contained in:
parent
e045ece3de
commit
afbfdb2579
@ -345,12 +345,10 @@ void Service::RemoveExpiredDowntimes(void)
|
||||
}
|
||||
}
|
||||
|
||||
if (!expiredDowntimes.empty()) {
|
||||
BOOST_FOREACH(const String& id, expiredDowntimes) {
|
||||
RemoveDowntime(id, false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void Service::DowntimesExpireTimerHandler(void)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user