From a3251415458e55d13695624bdebde4806dfc93de Mon Sep 17 00:00:00 2001 From: "John Molakvoæ (skjnldsv)" Date: Mon, 29 Nov 2021 17:06:01 +0100 Subject: Remove isIE and associated legacy scripts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ (skjnldsv) --- apps/files_external/list.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'apps/files_external/list.php') 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'); -- cgit v1.2.3