From d010d7d33adbb4280f9bb273b4c00e1531695dcb Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Mon, 28 Aug 2017 06:51:58 +0200 Subject: [PATCH] IcingaServiceSetForm: remove useless method --- application/forms/IcingaServiceSetForm.php | 24 +--------------------- 1 file changed, 1 insertion(+), 23 deletions(-) diff --git a/application/forms/IcingaServiceSetForm.php b/application/forms/IcingaServiceSetForm.php index f966b8b6..7d834dc3 100644 --- a/application/forms/IcingaServiceSetForm.php +++ b/application/forms/IcingaServiceSetForm.php @@ -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()