]> source.dussan.org Git - nextcloud-server.git/commitdiff
RUNTIME_NOSETUPFS no longer exists, using tearDownFS() in public links instead
authorMichael Gapczynski <mtgap@owncloud.com>
Wed, 22 May 2013 19:02:11 +0000 (15:02 -0400)
committerMichael Gapczynski <mtgap@owncloud.com>
Wed, 22 May 2013 22:21:39 +0000 (18:21 -0400)
apps/files_sharing/public.php
cron.php

index c8aca498f8c573affb7c7d6389178dea2110cf5b..204246b8de80b3477722e1f343c9c03b77467414 100644 (file)
@@ -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']);
                }
index 086f96f3665acafb658ce556447f9c0e2419c117..68053f4048963048e210a21c9cc76b106cbfd26a 100644 (file)
--- a/cron.php
+++ b/cron.php
@@ -45,7 +45,6 @@ function handleUnexpectedShutdown() {
        }
 }
 
-$RUNTIME_NOSETUPFS = true;
 require_once 'lib/base.php';
 
 session_write_close();