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; return $out;
} }
@ -125,11 +121,11 @@ abstract class IcingaObject extends DbObject
protected function renderCustomVars() protected function renderCustomVars()
{ {
if ($this->supportsCustomVars()) { if ($this->supportsCustomVars()) {
// TODO return $this->vars()->toConfigString();
} } else {
return ''; return '';
} }
}
protected function renderCommandProperty($commandId, $propertyName = 'check_command') protected function renderCommandProperty($commandId, $propertyName = 'check_command')
{ {