TransportConfigForm: Make the Icinga 2 API the default transport

fixes #2660
This commit is contained in:
Johannes Meyer 2017-02-01 14:52:45 +01:00
parent 6a37583fc7
commit e83e317cc6
1 changed files with 2 additions and 2 deletions

View File

@ -220,9 +220,9 @@ class TransportConfigForm extends ConfigForm
);
$transportTypes = array(
ApiCommandTransport::TRANSPORT => $this->translate('Icinga 2 API'),
LocalCommandFile::TRANSPORT => $this->translate('Local Command File'),
RemoteCommandFile::TRANSPORT => $this->translate('Remote Command File'),
ApiCommandTransport::TRANSPORT => $this->translate('Icinga 2 API')
RemoteCommandFile::TRANSPORT => $this->translate('Remote Command File')
);
$transportType = isset($formData['transport']) ? $formData['transport'] : null;