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