diff --git a/library/Director/Objects/IcingaZone.php b/library/Director/Objects/IcingaZone.php index 8e25e8d0..3aa0a676 100644 --- a/library/Director/Objects/IcingaZone.php +++ b/library/Director/Objects/IcingaZone.php @@ -17,6 +17,7 @@ class IcingaZone extends IcingaObject ); protected $booleans = array( + // Global is a reserved word in SQL, column name was prefixed 'is_global' => 'global' ); @@ -26,14 +27,4 @@ class IcingaZone extends IcingaObject { return $this->renderZoneProperty($this->parent_zone_id, 'parent_zone'); } - - protected function renderIs_global() - { - // Global is a reserved word in SQL, column name was prefixed - if ($this->is_global === 'y') { - return c::renderKeyValue('global', c::renderBoolean($this->is_global)); - } else { - return ''; - } - } }