diff --git a/Documentation-develop/CONFIG.md b/Documentation-develop/CONFIG.md index ab8b3b971b715f052055e00aaf703c41ddc8bac4..b71f07f1b81d3839ee5bd16fde6744276de914aa 100644 --- a/Documentation-develop/CONFIG.md +++ b/Documentation-develop/CONFIG.md @@ -106,7 +106,7 @@ The expected default value must be specified in the **testConfigIniDefaultValues ``` $expect = [ ... - SYSTEM_LOCK_SAME_OWNER => 'true', + SYSTEM_MY_VARIABLE => 'true', ... ]; ``` diff --git a/extension/Classes/Core/Constants.php b/extension/Classes/Core/Constants.php index 520bbae1138197a9730d52e0056afed6266529d5..f5217be71d719a4a0ca492155840423c310c377b 100644 --- a/extension/Classes/Core/Constants.php +++ b/extension/Classes/Core/Constants.php @@ -817,7 +817,6 @@ const SIP_EXCLUDE_TYPE = 'type'; const SIP_EXCLUDE_L = 'L'; const SIP_EXCLUDE_XDEBUG_SESSION_START = 'XDEBUG_SESSION_START'; - // FURTHER: all extracted params from 'urlparam const ACTION_KEYWORD_SLAVE_ID = 'slaveId'; diff --git a/extension/Classes/Core/Helper/Support.php b/extension/Classes/Core/Helper/Support.php index 29e6bc05c69fa93c63c9d2ee9f72928afec2a3a4..4d0ab356adc07e1d1a36c97eec2e190c81dff543 100644 --- a/extension/Classes/Core/Helper/Support.php +++ b/extension/Classes/Core/Helper/Support.php @@ -1691,11 +1691,9 @@ class Support { * * @return string */ - public static function getBrowser() - { + public static function getBrowser(){ $user_agent = $_SERVER['HTTP_USER_AGENT']; $browser = "N/A"; - $browsers = [ '/msie/i' => 'Internet explorer', '/firefox/i' => 'Firefox', @@ -1705,13 +1703,11 @@ class Support { '/opera/i' => 'Opera', '/mobile/i' => 'Mobile browser', ]; - foreach ($browsers as $regex => $value) { if (preg_match($regex, $user_agent)) { $browser = $value; } } - return $browser; } } \ No newline at end of file