summaryrefslogtreecommitdiffstats
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 18:21:39 -0400
commit34fda272d6c6be004e09353661b839736975409a (patch)
treedebe8833617578598514ea0ae6e1cba051b916b9
parent412f0962e75e64becb9fcf5ece3e877159537b69 (diff)
downloadnextcloud-server-34fda272d6c6be004e09353661b839736975409a.tar.gz
nextcloud-server-34fda272d6c6be004e09353661b839736975409a.zip
RUNTIME_NOSETUPFS no longer exists, using tearDownFS() in public links instead
-rw-r--r--apps/files_sharing/public.php2
-rw-r--r--cron.php1
2 files changed, 1 insertions, 2 deletions
diff --git a/apps/files_sharing/public.php b/apps/files_sharing/public.php
index c8aca498f8c..204246b8de8 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();
@@ -39,6 +38,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']);
}
diff --git a/cron.php b/cron.php
index 086f96f3665..68053f40489 100644
--- a/cron.php
+++ b/cron.php
@@ -45,7 +45,6 @@ function handleUnexpectedShutdown() {
}
}
-$RUNTIME_NOSETUPFS = true;
require_once 'lib/base.php';
session_write_close();