mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-26 23:34:08 +02:00
TransportConfigForm: Make the Icinga 2 API the default transport
fixes #2660
This commit is contained in:
parent
6a37583fc7
commit
e83e317cc6
@ -220,9 +220,9 @@ class TransportConfigForm extends ConfigForm
|
|||||||
);
|
);
|
||||||
|
|
||||||
$transportTypes = array(
|
$transportTypes = array(
|
||||||
|
ApiCommandTransport::TRANSPORT => $this->translate('Icinga 2 API'),
|
||||||
LocalCommandFile::TRANSPORT => $this->translate('Local Command File'),
|
LocalCommandFile::TRANSPORT => $this->translate('Local Command File'),
|
||||||
RemoteCommandFile::TRANSPORT => $this->translate('Remote Command File'),
|
RemoteCommandFile::TRANSPORT => $this->translate('Remote Command File')
|
||||||
ApiCommandTransport::TRANSPORT => $this->translate('Icinga 2 API')
|
|
||||||
);
|
);
|
||||||
|
|
||||||
$transportType = isset($formData['transport']) ? $formData['transport'] : null;
|
$transportType = isset($formData['transport']) ? $formData['transport'] : null;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user