]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix for sharing stable 11 4999/head
authorDaniel Hansson <daniel@techandme.se>
Sat, 20 May 2017 15:22:42 +0000 (17:22 +0200)
committerDaniel Hansson <daniel@techandme.se>
Sat, 20 May 2017 15:22:42 +0000 (17:22 +0200)
Signed-off-by: Daniel Hansson <daniel@techandme.se>
apps/files_sharing/lib/External/Manager.php

index 0a57324c32f145d9f2e75ae04706d0257cdb20fd..d857d7dcd51279fd8b5f780215c2bbb12a7ac267 100644 (file)
@@ -193,6 +193,7 @@ class Manager {
                $share = $this->getShare($id);
 
                if ($share) {
+                       \OC_Util::setupFS($this->uid);
                        $mountPoint = Files::buildNotExistingFileName('/', $share['name']);
                        $mountPoint = Filesystem::normalizePath('/' . $mountPoint);
                        $hash = md5($mountPoint);