summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-05-20 17:01:15 -0500
committerGitHub <noreply@github.com>2017-05-20 17:01:15 -0500
commit2dbd389bdb35febcafc667ff1580e5dbee771ab0 (patch)
tree996a8573b73c1f08f2b8a16fe14d0af4cf3c89a7
parent0dae4946cfec9124a8514af18f930c1361c55e71 (diff)
parent119e8474b60e82d2d1706e365d54d1d988c553ea (diff)
downloadnextcloud-server-2dbd389bdb35febcafc667ff1580e5dbee771ab0.tar.gz
nextcloud-server-2dbd389bdb35febcafc667ff1580e5dbee771ab0.zip
Merge pull request #4997 from nextcloud/federated-share-fix
fix for sharing
-rw-r--r--apps/files_sharing/lib/External/Manager.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files_sharing/lib/External/Manager.php b/apps/files_sharing/lib/External/Manager.php
index 2adcc7cf5cb..4e0b3a215f0 100644
--- a/apps/files_sharing/lib/External/Manager.php
+++ b/apps/files_sharing/lib/External/Manager.php
@@ -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);