diff --git a/lib/icinga/checkable-downtime.cpp b/lib/icinga/checkable-downtime.cpp index d96003d46..ba078a60b 100644 --- a/lib/icinga/checkable-downtime.cpp +++ b/lib/icinga/checkable-downtime.cpp @@ -9,13 +9,6 @@ using namespace icinga; -void Checkable::RemoveAllDowntimes() -{ - for (const Downtime::Ptr& downtime : GetDowntimes()) { - Downtime::RemoveDowntime(downtime->GetName(), true, true, true); - } -} - void Checkable::TriggerDowntimes(double triggerTime) { for (const Downtime::Ptr& downtime : GetDowntimes()) { diff --git a/lib/icinga/checkable.hpp b/lib/icinga/checkable.hpp index 3d48b1445..fcfbca9b2 100644 --- a/lib/icinga/checkable.hpp +++ b/lib/icinga/checkable.hpp @@ -146,7 +146,6 @@ public: /* Downtimes */ int GetDowntimeDepth() const final; - void RemoveAllDowntimes(); void TriggerDowntimes(double triggerTime); bool IsInDowntime() const; bool IsAcknowledged() const;