IcingaObject: no zones right now

This commit is contained in:
Thomas Gelf 2015-08-29 01:04:28 +02:00
parent 0507a65e0b
commit c0043c26b0
1 changed files with 2 additions and 0 deletions

View File

@ -642,6 +642,8 @@ abstract class IcingaObject extends DbObject implements IcingaConfigRenderer
protected function renderZoneProperty($zoneId, $propertyName = 'zone')
{
// TODO: set file info?
return '';
return c::renderKeyValue(
$propertyName,
c::renderString($this->connection->getZoneName($zoneId))