summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib/SharedMount.php
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2016-06-17 11:11:59 +0200
committerVincent Petry <pvince81@owncloud.com>2016-06-17 11:11:59 +0200
commita636078e6cfa12429ec780937c25e5034c185c0f (patch)
tree92eee0365ac9bc84f34ffbb182d8a2600037fa0f /apps/files_sharing/lib/SharedMount.php
parentcc532bb14aed74c397efa29a19ba48a3eeeb0cf0 (diff)
downloadnextcloud-server-a636078e6cfa12429ec780937c25e5034c185c0f.tar.gz
nextcloud-server-a636078e6cfa12429ec780937c25e5034c185c0f.zip
Make getShareFolder use given view instead of static FS
Diffstat (limited to 'apps/files_sharing/lib/SharedMount.php')
-rw-r--r--apps/files_sharing/lib/SharedMount.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/lib/SharedMount.php b/apps/files_sharing/lib/SharedMount.php
index 83527053f43..2b066bd2d94 100644
--- a/apps/files_sharing/lib/SharedMount.php
+++ b/apps/files_sharing/lib/SharedMount.php
@@ -81,7 +81,7 @@ class SharedMount extends MountPoint implements MoveableMount {
$parent = dirname($share->getTarget());
if (!$this->recipientView->is_dir($parent)) {
- $parent = Helper::getShareFolder();
+ $parent = Helper::getShareFolder($this->recipientView);
}
$newMountPoint = $this->generateUniqueTarget(