diff options
author | Robin Appelman <icewind@owncloud.com> | 2015-09-03 14:34:46 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2015-09-03 14:34:46 +0200 |
commit | 8123df948960423489a1476a6dce3456161c4982 (patch) | |
tree | a78462aea576be722f74579c1718d80ed7033136 /lib | |
parent | fd7b210654dfb2c310264fec70683cdd7682b3bb (diff) | |
download | nextcloud-server-8123df948960423489a1476a6dce3456161c4982.tar.gz nextcloud-server-8123df948960423489a1476a6dce3456161c4982.zip |
setup owner when getting users for share
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/share/share.php | 2 |
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; |