Revert "IcingaZoneForm: allow to set object_type for now"

This reverts commit 28862ccb120c18a215575f70a5c97c1a11edac9f.
This commit is contained in:
Thomas Gelf 2016-03-16 11:19:16 +01:00
parent 90600ffe33
commit 358590024c

View File

@ -8,7 +8,7 @@ class IcingaZoneForm extends DirectorObjectForm
{ {
public function setup() public function setup()
{ {
$this->addObjectTypeElement(); $this->addHidden('object_type', 'object');
$this->addElement('text', 'object_name', array( $this->addElement('text', 'object_name', array(
'label' => $this->translate('Zone (template) name'), 'label' => $this->translate('Zone (template) name'),