summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2014-12-11 23:51:49 +0100
committerMorris Jobke <hey@morrisjobke.de>2014-12-11 23:51:49 +0100
commitc56fa648018c05eed1651f84ad7718e7720b0568 (patch)
treef109a13b104d08cab30e20bd64ac07169b74955b /lib
parent8fd90e04b62c10a48ac15a3a52f7cd6b4040359d (diff)
parent802c1b0b3aaf8ed070ba686db8f30166030f22a9 (diff)
downloadnextcloud-server-c56fa648018c05eed1651f84ad7718e7720b0568.tar.gz
nextcloud-server-c56fa648018c05eed1651f84ad7718e7720b0568.zip
Merge pull request #12786 from owncloud/userfolder-setup
Ensure user mountpoints are setup when using getUserFolder
Diffstat (limited to 'lib')
-rw-r--r--lib/private/server.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/server.php b/lib/private/server.php
index 4107a0eeec8..94444623cfb 100644
--- a/lib/private/server.php
+++ b/lib/private/server.php
@@ -361,6 +361,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;