aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib/External/Manager.php
diff options
context:
space:
mode:
authorHinrich Mahler <22366557+Bibo-Joshi@users.noreply.github.com>2021-07-25 17:57:11 +0200
committerJohn Molakvoæ <skjnldsv@users.noreply.github.com>2021-09-06 16:39:11 +0200
commit961f8958c0df8e60ca9fda88d5f46526534eecd9 (patch)
tree6bd65beefbd7012fd211fc3f491b8b567b8a822f /apps/files_sharing/lib/External/Manager.php
parent33a0b75c83a1c56fa84b98d3a07a26b5c4932b65 (diff)
downloadnextcloud-server-961f8958c0df8e60ca9fda88d5f46526534eecd9.tar.gz
nextcloud-server-961f8958c0df8e60ca9fda88d5f46526534eecd9.zip
Let users choose a share_folder
Diffstat (limited to 'apps/files_sharing/lib/External/Manager.php')
-rw-r--r--apps/files_sharing/lib/External/Manager.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/lib/External/Manager.php b/apps/files_sharing/lib/External/Manager.php
index f9ef35b558c..d967f40cc32 100644
--- a/apps/files_sharing/lib/External/Manager.php
+++ b/apps/files_sharing/lib/External/Manager.php
@@ -309,7 +309,7 @@ class Manager {
if ($share) {
\OC_Util::setupFS($this->uid);
- $shareFolder = Helper::getShareFolder();
+ $shareFolder = Helper::getShareFolder(null, $this->uid);
$mountPoint = Files::buildNotExistingFileName($shareFolder, $share['name']);
$mountPoint = Filesystem::normalizePath($mountPoint);
$hash = md5($mountPoint);