mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-21 12:44:58 +02:00
parent
7b0c27acc5
commit
03c18367ff
@ -250,14 +250,12 @@ Value HostsTable::CheckPeriodAccessor(const Object::Ptr& object)
|
|||||||
if (!hc)
|
if (!hc)
|
||||||
return Value();
|
return Value();
|
||||||
|
|
||||||
return hc->GetCheckPeriod()->GetName();
|
TimePeriod::Ptr timeperiod = hc->GetCheckPeriod();
|
||||||
/*
|
|
||||||
TimePeriod::Ptr timeperiod = hc->GetCheckPeriod;
|
|
||||||
if (!timeperiod)
|
if (!timeperiod)
|
||||||
return Value();
|
return Value();
|
||||||
|
|
||||||
return timeperiod->GetName();
|
return timeperiod->GetName();
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Value HostsTable::NotesAccessor(const Object::Ptr& object)
|
Value HostsTable::NotesAccessor(const Object::Ptr& object)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user