mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-28 16:24:05 +02:00
IcingaObject: allow to override renderCustomVars
This commit is contained in:
parent
0e785274bf
commit
774957cfe7
@ -102,10 +102,6 @@ abstract class IcingaObject extends DbObject
|
||||
}
|
||||
}
|
||||
|
||||
if ($this->supportsCustomVars()) {
|
||||
$out .= $this->vars()->toConfigString();
|
||||
}
|
||||
|
||||
return $out;
|
||||
}
|
||||
|
||||
@ -125,10 +121,10 @@ abstract class IcingaObject extends DbObject
|
||||
protected function renderCustomVars()
|
||||
{
|
||||
if ($this->supportsCustomVars()) {
|
||||
// TODO
|
||||
return $this->vars()->toConfigString();
|
||||
} else {
|
||||
return '';
|
||||
}
|
||||
|
||||
return '';
|
||||
}
|
||||
|
||||
protected function renderCommandProperty($commandId, $propertyName = 'check_command')
|
||||
|
Loading…
x
Reference in New Issue
Block a user