[Pkg-owncloud-commits] [owncloud] 16/90: Ensure user mountpoints are setup when using getUserFolder

David Prévot taffit at moszumanska.debian.org
Fri Feb 6 21:10:41 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud.

commit bd06b4cf420af8dde1cb33ff6c8d379e1cfeb1ed
Author: Robin Appelman <icewind at owncloud.com>
Date:   Thu Dec 11 14:34:30 2014 +0100

    Ensure user mountpoints are setup when using getUserFolder
---
 lib/private/server.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/private/server.php b/lib/private/server.php
index 07f8031..adb815c 100644
--- a/lib/private/server.php
+++ b/lib/private/server.php
@@ -283,6 +283,7 @@ class Server extends SimpleContainer implements IServerContainer {
 		} else {
 			$user = $this->getUserManager()->get($userId);
 		}
+		\OC\Files\Filesystem::initMountPoints($userId);
 		$dir = '/' . $userId;
 		$root = $this->getRootFolder();
 		$folder = null;

-- 
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