summaryrefslogtreecommitdiffstats
path: root/apps/files_external/list.php
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2021-11-29 17:06:01 +0100
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2021-11-30 13:03:08 +0100
commita3251415458e55d13695624bdebde4806dfc93de (patch)
tree4c94008651e91d2e955e8a083b35fb311c59068b /apps/files_external/list.php
parent2c3cf86ad31e20504bea39bad0bf912e946e2c5e (diff)
downloadnextcloud-server-a3251415458e55d13695624bdebde4806dfc93de.tar.gz
nextcloud-server-a3251415458e55d13695624bdebde4806dfc93de.zip
Remove isIE and associated legacy scripts
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/files_external/list.php')
-rw-r--r--apps/files_external/list.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/files_external/list.php b/apps/files_external/list.php
index 0107bf92e6f..f230057f3d2 100644
--- a/apps/files_external/list.php
+++ b/apps/files_external/list.php
@@ -29,12 +29,11 @@ $config = \OC::$server->getConfig();
$userSession = \OC::$server->getUserSession();
$showgridview = $config->getUserValue($userSession->getUser()->getUID(), 'files', 'show_grid', true);
-$isIE = OC_Util::isIe();
$tmpl = new OCP\Template('files_external', 'list', '');
// gridview not available for ie
-$tmpl->assign('showgridview', $showgridview && !$isIE);
+$tmpl->assign('showgridview', $showgridview);
/* Load Status Manager */
\OCP\Util::addStyle('files_external', 'external');