summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2015-09-03 15:09:57 +0200
committerVincent Petry <pvince81@owncloud.com>2015-09-03 15:09:57 +0200
commit1f9974894dd282e7a453544f082bdd0aa7dcaa67 (patch)
tree16a06c85592ba354f3876ca3bf51aedb6c6107c6 /lib
parent3a99ef7077eeabc7a0a1f0eee9054061dcd27f65 (diff)
parent8123df948960423489a1476a6dce3456161c4982 (diff)
downloadnextcloud-server-1f9974894dd282e7a453544f082bdd0aa7dcaa67.tar.gz
nextcloud-server-1f9974894dd282e7a453544f082bdd0aa7dcaa67.zip
Merge pull request #18810 from owncloud/shared-mount-delay-setup
Delay setting up the filesystem for a share owner untill the share is used
Diffstat (limited to 'lib')
-rw-r--r--lib/private/share/share.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/private/share/share.php b/lib/private/share/share.php
index d0c69badb46..e1735dbf92e 100644
--- a/lib/private/share/share.php
+++ b/lib/private/share/share.php
@@ -37,6 +37,7 @@
namespace OC\Share;
+use OC\Files\Filesystem;
use OCP\IUserSession;
use OCP\IDBConnection;
use OCP\IConfig;
@@ -120,6 +121,7 @@ class Share extends Constants {
*/
public static function getUsersSharingFile($path, $ownerUser, $includeOwner = false, $returnUserPaths = false) {
+ Filesystem::initMountPoints($ownerUser);
$shares = $sharePaths = $fileTargets = array();
$publicShare = false;
$remoteShare = false;