diff --git a/application/controllers/ServiceController.php b/application/controllers/ServiceController.php index 6545c2e0..14217ae2 100644 --- a/application/controllers/ServiceController.php +++ b/application/controllers/ServiceController.php @@ -3,6 +3,7 @@ namespace Icinga\Module\Director\Controllers; use Exception; +use Icinga\Module\Director\Forms\IcingaServiceForm; use Icinga\Module\Director\Web\Controller\ObjectController; use Icinga\Module\Director\Objects\IcingaServiceSet; use Icinga\Module\Director\Objects\IcingaService; @@ -92,6 +93,9 @@ class ServiceController extends ObjectController } } + /** + * @param IcingaServiceForm $form + */ protected function beforeHandlingAddRequest($form) { if ($this->apply) {