mirror of https://github.com/Icinga/icinga2.git
Merge pull request #10066 from Icinga/Checkable-RemoveAllDowntimes
Remove unused Checkable#RemoveAllDowntimes()
This commit is contained in:
commit
3d64240ee3
|
@ -9,13 +9,6 @@
|
||||||
|
|
||||||
using namespace icinga;
|
using namespace icinga;
|
||||||
|
|
||||||
void Checkable::RemoveAllDowntimes()
|
|
||||||
{
|
|
||||||
for (const Downtime::Ptr& downtime : GetDowntimes()) {
|
|
||||||
Downtime::RemoveDowntime(downtime->GetName(), true, true, true);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
void Checkable::TriggerDowntimes(double triggerTime)
|
void Checkable::TriggerDowntimes(double triggerTime)
|
||||||
{
|
{
|
||||||
for (const Downtime::Ptr& downtime : GetDowntimes()) {
|
for (const Downtime::Ptr& downtime : GetDowntimes()) {
|
||||||
|
|
|
@ -146,7 +146,6 @@ public:
|
||||||
/* Downtimes */
|
/* Downtimes */
|
||||||
int GetDowntimeDepth() const final;
|
int GetDowntimeDepth() const final;
|
||||||
|
|
||||||
void RemoveAllDowntimes();
|
|
||||||
void TriggerDowntimes(double triggerTime);
|
void TriggerDowntimes(double triggerTime);
|
||||||
bool IsInDowntime() const;
|
bool IsInDowntime() const;
|
||||||
bool IsAcknowledged() const;
|
bool IsAcknowledged() const;
|
||||||
|
|
Loading…
Reference in New Issue