diff options
author | Bart Visscher <bartv@thisnet.nl> | 2012-08-29 21:35:55 +0200 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2012-08-29 21:35:55 +0200 |
commit | c958d5ba808ce64083470f65f11d3f9e8b74f7a1 (patch) | |
tree | d3dae3abb0962b55cf0eb306fa2b28424e89e9e6 /apps | |
parent | 301baf0215cfa3046389b3369f3d43422ff80043 (diff) | |
download | nextcloud-server-c958d5ba808ce64083470f65f11d3f9e8b74f7a1.tar.gz nextcloud-server-c958d5ba808ce64083470f65f11d3f9e8b74f7a1.zip |
Fix filesystem setup for shared public link with logged in user
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_sharing/public.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/files_sharing/public.php b/apps/files_sharing/public.php index a4bf0230a3a..7f72ef81bd3 100644 --- a/apps/files_sharing/public.php +++ b/apps/files_sharing/public.php @@ -5,7 +5,6 @@ if (isset($_GET['file'])) { $pos = strpos($_GET['file'], '/', 1); $uidOwner = substr($_GET['file'], 1, $pos - 1); if (OCP\User::userExists($uidOwner)) { - OC_Util::tearDownFS(); OC_Util::setupFS($uidOwner); $file = substr($_GET['file'], $pos); $fileSource = OC_Filecache::getId($_GET['file'], ''); @@ -73,4 +72,4 @@ if (isset($_GET['file'])) { } header('HTTP/1.0 404 Not Found'); $tmpl = new OCP\Template('', '404', 'guest'); -$tmpl->printPage();
\ No newline at end of file +$tmpl->printPage(); |