From e83e317cc6d7bfcef73b86090b299c66cc5ce8e5 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Wed, 1 Feb 2017 14:52:45 +0100 Subject: [PATCH] TransportConfigForm: Make the Icinga 2 API the default transport fixes #2660 --- .../application/forms/Config/TransportConfigForm.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/monitoring/application/forms/Config/TransportConfigForm.php b/modules/monitoring/application/forms/Config/TransportConfigForm.php index 07db81db1..c950e0626 100644 --- a/modules/monitoring/application/forms/Config/TransportConfigForm.php +++ b/modules/monitoring/application/forms/Config/TransportConfigForm.php @@ -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;