diff --git a/library/Director/Objects/IcingaService.php b/library/Director/Objects/IcingaService.php index 6a7541ea..77412487 100644 --- a/library/Director/Objects/IcingaService.php +++ b/library/Director/Objects/IcingaService.php @@ -343,24 +343,6 @@ class IcingaService extends IcingaObject implements ExportInterface } } - /** - * @return string - */ - protected function renderCustomVars() - { - $vars = ''; - if ( - $this->isApplyRule() - && !$this->hasBeenAssignedToHostTemplate() - && $this->get('apply_for') !== null - && $this->isApplyRuleforDictionary(substr($this->get('apply_for'), strlen('host.vars.'))) - ) { - $vars .= "\n vars += config\n"; - } - - return $vars . parent::renderCustomVars(); - } - /** * @return string */