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);