diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/TemplateLayout.php | 4 | ||||
-rw-r--r-- | lib/private/legacy/OC_Util.php | 13 |
2 files changed, 0 insertions, 17 deletions
diff --git a/lib/private/TemplateLayout.php b/lib/private/TemplateLayout.php index a620b9fdac3..639e7dc007b 100644 --- a/lib/private/TemplateLayout.php +++ b/lib/private/TemplateLayout.php @@ -82,10 +82,6 @@ class TemplateLayout extends \OC_Template { /** @var IInitialStateService */ $this->initialState = \OC::$server->get(IInitialStateService::class); - if (\OC_Util::isIe()) { - Util::addStyle('ie'); - } - // Decide which page we show if ($renderAs === TemplateResponse::RENDER_AS_USER) { /** @var INavigationManager */ 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; - } } |