IcingaServiceForm: do not provide object type
This commit is contained in:
parent
078e46df60
commit
755112eac5
|
@ -24,11 +24,7 @@ class IcingaServiceForm extends DirectorObjectForm
|
|||
|
||||
protected function setupServiceElements()
|
||||
{
|
||||
$this->addObjectTypeElement();
|
||||
if (! $this->hasObjectType()) {
|
||||
return $this->groupMainProperties();
|
||||
}
|
||||
|
||||
$this->addHidden('object_type', 'template');
|
||||
|
||||
$this->addNameElement()
|
||||
->addHostObjectElement()
|
||||
|
|
Loading…
Reference in New Issue