IcingaObject: allow to override renderCustomVars

This commit is contained in:
Thomas Gelf 2015-06-15 14:23:15 +02:00
parent 0e785274bf
commit 774957cfe7
1 changed files with 3 additions and 7 deletions

View File

@ -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')