summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorDaniel Hansson <daniel@techandme.se>2017-05-20 16:23:04 +0200
committerDaniel Hansson <daniel@techandme.se>2017-05-20 16:23:04 +0200
commit119e8474b60e82d2d1706e365d54d1d988c553ea (patch)
tree54826b88f393f40611bfbc44c3691c5ef187baee /apps
parenta442c86a8465a27fab84837d2fc40f2211de06b8 (diff)
downloadnextcloud-server-119e8474b60e82d2d1706e365d54d1d988c553ea.tar.gz
nextcloud-server-119e8474b60e82d2d1706e365d54d1d988c553ea.zip
fix for sharing
Signed-off-by: Daniel Hansson <daniel@techandme.se>
Diffstat (limited to 'apps')
-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);