diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2021-11-29 19:06:01 +0300 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2021-11-30 15:03:08 +0300 |
commit | a3251415458e55d13695624bdebde4806dfc93de (patch) | |
tree | 4c94008651e91d2e955e8a083b35fb311c59068b /apps/files_sharing/list.php | |
parent | 2c3cf86ad31e20504bea39bad0bf912e946e2c5e (diff) |
Remove isIE and associated legacy scripts
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/files_sharing/list.php')
-rw-r--r-- | apps/files_sharing/list.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/files_sharing/list.php b/apps/files_sharing/list.php index 759f87179a1..f9f6ddd3bc5 100644 --- a/apps/files_sharing/list.php +++ b/apps/files_sharing/list.php @@ -37,12 +37,11 @@ $legacyEventDispatcher = \OC::$server->getEventDispatcher(); $eventDispatcher = \OC::$server->get(OCP\EventDispatcher\IEventDispatcher::class); $showgridview = $config->getUserValue($userSession->getUser()->getUID(), 'files', 'show_grid', false); -$isIE = OC_Util::isIe(); $tmpl = new OCP\Template('files_sharing', 'list', ''); // gridview not available for ie -$tmpl->assign('showgridview', $showgridview && !$isIE); +$tmpl->assign('showgridview', $showgridview); // fire script events $legacyEventDispatcher->dispatch('\OCP\Collaboration\Resources::loadAdditionalScripts', new GenericEvent()); |