mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
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…
x
Reference in New Issue
Block a user