diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2021-11-29 19:06:01 +0300 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2021-11-30 15:03:08 +0300 |
commit | a3251415458e55d13695624bdebde4806dfc93de (patch) | |
tree | 4c94008651e91d2e955e8a083b35fb311c59068b /lib/private/legacy/OC_Util.php | |
parent | 2c3cf86ad31e20504bea39bad0bf912e946e2c5e (diff) |
Remove isIE and associated legacy scripts
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'lib/private/legacy/OC_Util.php')
-rw-r--r-- | lib/private/legacy/OC_Util.php | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/lib/private/legacy/OC_Util.php b/lib/private/legacy/OC_Util.php index 078e3cf9a03..4d614b2efea 100644 --- a/lib/private/legacy/OC_Util.php +++ b/lib/private/legacy/OC_Util.php @@ -1444,17 +1444,4 @@ class OC_Util { return false; } } - - /** - * is this Internet explorer ? - * - * @return boolean - */ - public static function isIe() { - if (!isset($_SERVER['HTTP_USER_AGENT'])) { - return false; - } - - return preg_match(Request::USER_AGENT_IE, $_SERVER['HTTP_USER_AGENT']) === 1; - } } |