diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2021-11-29 17:06:01 +0100 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2021-11-30 13:03:08 +0100 |
commit | a3251415458e55d13695624bdebde4806dfc93de (patch) | |
tree | 4c94008651e91d2e955e8a083b35fb311c59068b /apps/files/list.php | |
parent | 2c3cf86ad31e20504bea39bad0bf912e946e2c5e (diff) | |
download | nextcloud-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/list.php')
-rw-r--r-- | apps/files/list.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/files/list.php b/apps/files/list.php index 259713ae68e..9d3e1a33b0f 100644 --- a/apps/files/list.php +++ b/apps/files/list.php @@ -32,12 +32,11 @@ $shareManager = \OC::$server->get(IManager::class); $publicUploadEnabled = $shareManager->shareApiLinkAllowPublicUpload() ? 'yes' : 'no';; $showgridview = $config->getUserValue($userSession->getUser()->getUID(), 'files', 'show_grid', false); -$isIE = OC_Util::isIe(); // renders the controls and table headers template $tmpl = new OCP\Template('files', 'list', ''); // gridview not available for ie -$tmpl->assign('showgridview', $showgridview && !$isIE); +$tmpl->assign('showgridview', $showgridview); $tmpl->assign('publicUploadEnabled', $publicUploadEnabled); $tmpl->printPage(); |