mirror of
https://github.com/Icinga/icinga2.git
synced 2026-02-03 20:40:17 -05:00
Merge pull request #10693 from Icinga/AddDowntime-origin
`Downtime::AddDowntime()`: remove unused parameter `const MessageOrigin::Ptr& origin`
This commit is contained in:
commit
92d9f64eb0
2 changed files with 2 additions and 3 deletions
|
|
@ -253,7 +253,7 @@ Downtime::Ptr Downtime::AddDowntime(const Checkable::Ptr& checkable, const Strin
|
|||
const String& comment, double startTime, double endTime, bool fixed,
|
||||
const Downtime::Ptr& parentDowntime, double duration,
|
||||
const String& scheduledDowntime, const String& scheduledBy, const String& parent,
|
||||
const String& id, const MessageOrigin::Ptr& origin)
|
||||
const String& id)
|
||||
{
|
||||
String fullName;
|
||||
String triggeredBy;
|
||||
|
|
|
|||
|
|
@ -56,8 +56,7 @@ public:
|
|||
static Ptr AddDowntime(const intrusive_ptr<Checkable>& checkable, const String& author,
|
||||
const String& comment, double startTime, double endTime, bool fixed,
|
||||
const Ptr& parentDowntime, double duration, const String& scheduledDowntime = String(),
|
||||
const String& scheduledBy = String(), const String& parent = String(), const String& id = String(),
|
||||
const MessageOrigin::Ptr& origin = nullptr);
|
||||
const String& scheduledBy = String(), const String& parent = String(), const String& id = String());
|
||||
|
||||
static void RemoveDowntime(const String& id, bool includeChildren, DowntimeRemovalReason removalReason,
|
||||
const String& removedBy = "");
|
||||
|
|
|
|||
Loading…
Reference in a new issue