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

index 2adcc7cf5cb91be68c317a94672d63e7f8409341..4e0b3a215f0bd12761729b97f3704707efd6b22f 100644 (file)
@@ -198,6 +198,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);