IcingaServiceSetForm: remove useless method

This commit is contained in:
Thomas Gelf 2017-08-28 06:51:58 +02:00
parent 02c3625a76
commit d010d7d33a
1 changed files with 1 additions and 23 deletions

View File

@ -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()