From 3190b7dea370a0df15665927b9c1d3ca4fe586c4 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Fri, 8 Sep 2017 12:56:09 +0200 Subject: [PATCH] Revert "Web: Allow to configure whether we'll consider Accept-Language or not" This reverts commit 87505aff7ce63c83072e7ea4d7415d72d4281ddd. --- library/Icinga/Application/Web.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Icinga/Application/Web.php b/library/Icinga/Application/Web.php index 6e9c50a41..db480abde 100644 --- a/library/Icinga/Application/Web.php +++ b/library/Icinga/Application/Web.php @@ -554,7 +554,7 @@ class Web extends EmbeddedWeb ) { return $locale; } - if (isset($_SERVER['HTTP_ACCEPT_LANGUAGE']) && $this->config->get('global', 'use_accept_language', true)) { + if (isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])) { return Translator::getPreferredLocaleCode($_SERVER['HTTP_ACCEPT_LANGUAGE']); } return Translator::DEFAULT_LOCALE;