parent
1592894fd7
commit
ab7d0fb085
|
@ -1851,6 +1851,18 @@ abstract class IcingaObject extends DbObject implements IcingaConfigRenderer
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return string
|
||||||
|
*/
|
||||||
|
protected function renderLegacyCustomVars()
|
||||||
|
{
|
||||||
|
if ($this->supportsCustomVars()) {
|
||||||
|
return $this->vars()->toLegacyConfigString();
|
||||||
|
} else {
|
||||||
|
return '';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
|
@ -2024,7 +2036,7 @@ abstract class IcingaObject extends DbObject implements IcingaConfigRenderer
|
||||||
$this->renderLegacyGroups(),
|
$this->renderLegacyGroups(),
|
||||||
//$this->renderMultiRelations(),
|
//$this->renderMultiRelations(),
|
||||||
//$this->renderCustomExtensions(),
|
//$this->renderCustomExtensions(),
|
||||||
//$this->renderCustomVars(),
|
$this->renderLegacyCustomVars(),
|
||||||
$this->renderLegacySuffix()
|
$this->renderLegacySuffix()
|
||||||
));
|
));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue