mirror of
https://github.com/Icinga/icinga2.git
synced 2026-05-25 02:32:11 -04:00
Remove unused Checkable#RemoveAllDowntimes()
This commit is contained in:
parent
cb945feb19
commit
e2bdb8a2f1
2 changed files with 0 additions and 8 deletions
|
|
@ -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()) {
|
||||
|
|
|
|||
|
|
@ -146,7 +146,6 @@ public:
|
|||
/* Downtimes */
|
||||
int GetDowntimeDepth() const final;
|
||||
|
||||
void RemoveAllDowntimes();
|
||||
void TriggerDowntimes(double triggerTime);
|
||||
bool IsInDowntime() const;
|
||||
bool IsAcknowledged() const;
|
||||
|
|
|
|||
Loading…
Reference in a new issue