IcingaServiceSetForm: remove useless method
This commit is contained in:
parent
02c3625a76
commit
d010d7d33a
|
@ -20,29 +20,7 @@ class IcingaServiceSetForm extends DirectorObjectForm
|
|||
$this->setupHost();
|
||||
}
|
||||
|
||||
$this->setupFields()
|
||||
->setButtons();
|
||||
}
|
||||
|
||||
protected function setupFields()
|
||||
{
|
||||
/** @var IcingaServiceSet $object */
|
||||
$object = $this->object();
|
||||
|
||||
$this->assertResolvedImports();
|
||||
|
||||
if ($this->hasBeenSent() && $services = $this->getSentValue('service')) {
|
||||
$object->service = $services;
|
||||
}
|
||||
|
||||
// TODO: disabled for now. Sets have no fields, so somehow the resolver
|
||||
// fails here
|
||||
if (false && $this->assertResolvedImports()) {
|
||||
$this->fieldLoader($object)
|
||||
->loadFieldsForMultipleObjects($object->getServiceObjects());
|
||||
}
|
||||
|
||||
return $this;
|
||||
$this->setButtons();
|
||||
}
|
||||
|
||||
protected function setupTemplate()
|
||||
|
|
Loading…
Reference in New Issue