IcingaObjects: add missing relations
This commit is contained in:
parent
7eb7f1324c
commit
9d4ee40575
|
@ -22,6 +22,10 @@ class IcingaTimePeriod extends IcingaObject
|
|||
|
||||
protected $supportsRanges = true;
|
||||
|
||||
protected $relations = array(
|
||||
'zone' => 'IcingaZone',
|
||||
);
|
||||
|
||||
/**
|
||||
* Render update property
|
||||
*
|
||||
|
|
|
@ -35,4 +35,9 @@ class IcingaUser extends IcingaObject
|
|||
'states' => 'StateFilterSet',
|
||||
'types' => 'TypeFilterSet',
|
||||
);
|
||||
|
||||
protected $relations = array(
|
||||
'period' => 'IcingaTimePeriod',
|
||||
'zone' => 'IcingaZone',
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue