summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2021-03-17 20:18:11 +0100
committerGitHub <noreply@github.com>2021-03-17 20:18:11 +0100
commitf56e5bb0dbf42690c5dcc9ba43f4cad853ff5a83 (patch)
tree756f967efe04ef018fdc097aaf13cec7600e792f /lib
parentf1fefd91dff68382e0675e42acbd02f4bb415eb8 (diff)
parent7f3051e5bf2cab6e98dc566ac290a75781c7401d (diff)
downloadnextcloud-server-f56e5bb0dbf42690c5dcc9ba43f4cad853ff5a83.tar.gz
nextcloud-server-f56e5bb0dbf42690c5dcc9ba43f4cad853ff5a83.zip
Merge pull request #25676 from nextcloud/drop/utl-is-ie
Drop \OCP\Util::isIe
Diffstat (limited to 'lib')
-rw-r--r--lib/private/TemplateLayout.php2
-rw-r--r--lib/public/Util.php10
2 files changed, 1 insertions, 11 deletions
diff --git a/lib/private/TemplateLayout.php b/lib/private/TemplateLayout.php
index f8f6536cee5..17627f81369 100644
--- a/lib/private/TemplateLayout.php
+++ b/lib/private/TemplateLayout.php
@@ -80,7 +80,7 @@ class TemplateLayout extends \OC_Template {
/** @var IInitialStateService */
$this->initialState = \OC::$server->get(IInitialStateService::class);
- if (Util::isIE()) {
+ if (\OC_Util::isIe()) {
Util::addStyle('ie');
}
diff --git a/lib/public/Util.php b/lib/public/Util.php
index 7cecb6bf86b..3281c9cceec 100644
--- a/lib/public/Util.php
+++ b/lib/public/Util.php
@@ -521,14 +521,4 @@ class Util {
}
return self::$needUpgradeCache;
}
-
- /**
- * is this Internet explorer ?
- *
- * @return boolean
- * @since 14.0.0
- */
- public static function isIe() {
- return \OC_Util::isIe();
- }
}