aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2021-02-16 11:36:29 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2021-03-09 20:29:42 +0100
commit7f3051e5bf2cab6e98dc566ac290a75781c7401d (patch)
tree88eac9efe997e1ab79c10224fe4aad6f8c4a146d /apps/files
parent5063745cace4a7ccf219a23eb1b7717d06406707 (diff)
downloadnextcloud-server-7f3051e5bf2cab6e98dc566ac290a75781c7401d.tar.gz
nextcloud-server-7f3051e5bf2cab6e98dc566ac290a75781c7401d.zip
Drop \OCP\Util::isIe
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'apps/files')
-rw-r--r--apps/files/lib/Controller/ViewController.php2
-rw-r--r--apps/files/list.php2
-rw-r--r--apps/files/recentlist.php2
-rw-r--r--apps/files/simplelist.php2
4 files changed, 4 insertions, 4 deletions
diff --git a/apps/files/lib/Controller/ViewController.php b/apps/files/lib/Controller/ViewController.php
index aade5a5b44a..e430e41b54e 100644
--- a/apps/files/lib/Controller/ViewController.php
+++ b/apps/files/lib/Controller/ViewController.php
@@ -306,7 +306,7 @@ class ViewController extends Controller {
$params['defaultFileSorting'] = $this->config->getUserValue($user, 'files', 'file_sorting', 'name');
$params['defaultFileSortingDirection'] = $this->config->getUserValue($user, 'files', 'file_sorting_direction', 'asc');
$params['showgridview'] = $this->config->getUserValue($user, 'files', 'show_grid', false);
- $params['isIE'] = \OCP\Util::isIE();
+ $params['isIE'] = \OC_Util::isIe();
$showHidden = (bool) $this->config->getUserValue($this->userSession->getUser()->getUID(), 'files', 'show_hidden', false);
$params['showHiddenFiles'] = $showHidden ? 1 : 0;
$cropImagePreviews = (bool) $this->config->getUserValue($this->userSession->getUser()->getUID(), 'files', 'crop_image_previews', true);
diff --git a/apps/files/list.php b/apps/files/list.php
index 872f711344a..52d736516c9 100644
--- a/apps/files/list.php
+++ b/apps/files/list.php
@@ -28,7 +28,7 @@ $userSession = \OC::$server->getUserSession();
$publicUploadEnabled = $config->getAppValue('core', 'shareapi_allow_public_upload', 'yes');
$showgridview = $config->getUserValue($userSession->getUser()->getUID(), 'files', 'show_grid', false);
-$isIE = \OCP\Util::isIE();
+$isIE = OC_Util::isIe();
// renders the controls and table headers template
$tmpl = new OCP\Template('files', 'list', '');
diff --git a/apps/files/recentlist.php b/apps/files/recentlist.php
index fdd02679319..55ca3d48449 100644
--- a/apps/files/recentlist.php
+++ b/apps/files/recentlist.php
@@ -28,7 +28,7 @@ $config = \OC::$server->getConfig();
$userSession = \OC::$server->getUserSession();
$showgridview = $config->getUserValue($userSession->getUser()->getUID(), 'files', 'show_grid', false);
-$isIE = \OCP\Util::isIE();
+$isIE = OC_Util::isIe();
$tmpl = new OCP\Template('files', 'recentlist', '');
diff --git a/apps/files/simplelist.php b/apps/files/simplelist.php
index 404be951e26..25bef1968c1 100644
--- a/apps/files/simplelist.php
+++ b/apps/files/simplelist.php
@@ -27,7 +27,7 @@ $config = \OC::$server->getConfig();
$userSession = \OC::$server->getUserSession();
$showgridview = $config->getUserValue($userSession->getUser()->getUID(), 'files', 'show_grid', false);
-$isIE = \OCP\Util::isIE();
+$isIE = OC_Util::isIe();
// renders the controls and table headers template
$tmpl = new OCP\Template('files', 'simplelist', '');