aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing
diff options
context:
space:
mode:
authorMichael Gapczynski <mtgap@owncloud.com>2013-05-22 15:02:11 -0400
committerMichael Gapczynski <mtgap@owncloud.com>2013-05-22 15:02:11 -0400
commit9b622bdeedf0f29abb33449da3089a8eaecd7c78 (patch)
treea6a2425f3ae82b0e49493ef5a4f470e3cdc29d0c /apps/files_sharing
parent26732ecaa63f054f76e34b276668310f344ee50b (diff)
downloadnextcloud-server-9b622bdeedf0f29abb33449da3089a8eaecd7c78.tar.gz
nextcloud-server-9b622bdeedf0f29abb33449da3089a8eaecd7c78.zip
RUNTIME_NOSETUPFS no longer exists, using tearDownFS() in public links instead
Diffstat (limited to 'apps/files_sharing')
-rw-r--r--apps/files_sharing/public.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/public.php b/apps/files_sharing/public.php
index 2b283375a67..59598e35fa2 100644
--- a/apps/files_sharing/public.php
+++ b/apps/files_sharing/public.php
@@ -1,5 +1,4 @@
<?php
-$RUNTIME_NOSETUPFS = true;
// Load other apps for file previews
OC_App::loadApps();
@@ -46,6 +45,7 @@ if (isset($_GET['t'])) {
$fileOwner = $shareOwner;
}
if (isset($fileOwner)) {
+ OC_Util::tearDownFS();
OC_Util::setupFS($fileOwner);
$path = \OC\Files\Filesystem::getPath($linkItem['file_source']);
}