[Pkg-owncloud-commits] [owncloud] 02/18: setup owner when getting users for share
David Prévot
taffit at moszumanska.debian.org
Sat Sep 19 14:16:20 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch stable8
in repository owncloud.
commit 9c289b71c683876b253c57a01d1aecc3971611ed
Author: Robin Appelman <icewind at owncloud.com>
Date: Thu Sep 3 14:34:46 2015 +0200
setup owner when getting users for share
---
lib/private/share/share.php | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lib/private/share/share.php b/lib/private/share/share.php
index ffe468e..93b718c 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 OC\DB\Connection;
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;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list