summaryrefslogtreecommitdiffstats
path: root/apps/files/lib
diff options
context:
space:
mode:
authorMarius Blüm <marius@lineone.io>2016-08-17 09:02:58 +0200
committerGitHub <noreply@github.com>2016-08-17 09:02:58 +0200
commitc1632c3abd0f136b4ecb8d7a5bef5c3c72f9cb95 (patch)
treef39dd2b81c9743d9912359cbd3649101b8db383d /apps/files/lib
parent0cc8b8b244fe921226a53c9c03c40e13f63b6362 (diff)
parent8f3dc0ba43123915c25ff9b328104d6fe4faf9e9 (diff)
downloadnextcloud-server-c1632c3abd0f136b4ecb8d7a5bef5c3c72f9cb95.tar.gz
nextcloud-server-c1632c3abd0f136b4ecb8d7a5bef5c3c72f9cb95.zip
Merge pull request #893 from nextcloud/ie8_be_gone
IE8 be gone!
Diffstat (limited to 'apps/files/lib')
-rw-r--r--apps/files/lib/Controller/ViewController.php12
1 files changed, 0 insertions, 12 deletions
diff --git a/apps/files/lib/Controller/ViewController.php b/apps/files/lib/Controller/ViewController.php
index 9dbe06ff789..779a2c7aadc 100644
--- a/apps/files/lib/Controller/ViewController.php
+++ b/apps/files/lib/Controller/ViewController.php
@@ -195,18 +195,6 @@ class ViewController extends Controller {
\OCP\Util::addscript('files', 'keyboardshortcuts');
\OCP\Util::addscript('files', 'navigation');
- // if IE8 and "?dir=path&view=someview" was specified, reformat the URL to use a hash like "#?dir=path&view=someview"
- $isIE8 = $this->request->isUserAgent([Request::USER_AGENT_IE_8]);
- if ($isIE8 && ($dir !== '' || $view !== '')) {
- $dir = !empty($dir) ? $dir : '/';
- $view = !empty($view) ? $view : 'files';
- $hash = '#?dir=' . \OCP\Util::encodePath($dir);
- if ($view !== 'files') {
- $hash .= '&view=' . urlencode($view);
- }
- return new RedirectResponse($this->urlGenerator->linkToRoute('files.view.index') . $hash);
- }
-
// mostly for the home storage's free space
// FIXME: Make non static
$storageInfo = $this->getStorageInfo();