diff options
author | Morris Jobke <hey@morrisjobke.de> | 2015-10-06 14:58:07 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2015-10-09 11:19:06 +0200 |
commit | bf579a153f8f0d6fb081a1d11718ea48c779da34 (patch) | |
tree | 0dff2c0947f8cc14bdf5ca8908355cd4c70e133c /lib/public | |
parent | c7aef6c36833b1d9bdec9dc30ceb874b8cb93019 (diff) | |
download | nextcloud-server-bf579a153f8f0d6fb081a1d11718ea48c779da34.tar.gz nextcloud-server-bf579a153f8f0d6fb081a1d11718ea48c779da34.zip |
fix IE8 user agent detection
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/util.php | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/lib/public/util.php b/lib/public/util.php index 2b81b6bfc49..76b61347d46 100644 --- a/lib/public/util.php +++ b/lib/public/util.php @@ -670,18 +670,4 @@ class Util { } return self::$needUpgradeCache; } - - /** - * Returns whether the current request is coming from a - * famous awfully old browser. - * - * @return boolean true if it's IE8, false otherwise - */ - public static function isIE8() { - preg_match('/MSIE (.*?);/', $_SERVER['HTTP_USER_AGENT'], $matches); - if (count($matches) > 0 && $matches[1] <= 9) { - return true; - } - return false; - } } |