From 7bb28c37ed3ffb3b3acae361773231417c2f2214 Mon Sep 17 00:00:00 2001 From: Ilja Lukin Date: Thu, 12 Feb 2026 16:26:46 +0100 Subject: [PATCH] ECS: Restore HTTP protocol option in GUI --- .../WebServices/ECS/classes/class.ilECSSettingsGUI.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/components/ILIAS/WebServices/ECS/classes/class.ilECSSettingsGUI.php b/components/ILIAS/WebServices/ECS/classes/class.ilECSSettingsGUI.php index e45c9b9606d6..b63c66495cbe 100755 --- a/components/ILIAS/WebServices/ECS/classes/class.ilECSSettingsGUI.php +++ b/components/ILIAS/WebServices/ECS/classes/class.ilECSSettingsGUI.php @@ -302,10 +302,10 @@ protected function initSettingsForm($a_mode = 'update'): void $this->form->addItem($ser); $pro = new ilSelectInputGUI($this->lng->txt('ecs_protocol'), 'protocol'); - // fixed to https - #$pro->setOptions(array(ilECSSetting::PROTOCOL_HTTP => $this->lng->txt('http'), - # ilECSSetting::PROTOCOL_HTTPS => $this->lng->txt('https'))); - $pro->setOptions(array(ilECSSetting::PROTOCOL_HTTPS => 'HTTPS')); + $pro->setOptions(array( + ilECSSetting::PROTOCOL_HTTPS => 'HTTPS', + ilECSSetting::PROTOCOL_HTTP => 'HTTP' + )); $pro->setValue($this->settings->getProtocol()); $pro->setRequired(true); $this->form->addItem($pro);