summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2014-12-11 14:34:30 +0100
committerRobin Appelman <icewind@owncloud.com>2014-12-11 14:34:30 +0100
commit802c1b0b3aaf8ed070ba686db8f30166030f22a9 (patch)
treed9967ce04e7ee880468f77b8a51b4999a8b1d182 /lib
parentb33d8a3d60555de3e6e99a92eed3a303e55a3380 (diff)
downloadnextcloud-server-802c1b0b3aaf8ed070ba686db8f30166030f22a9.tar.gz
nextcloud-server-802c1b0b3aaf8ed070ba686db8f30166030f22a9.zip
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 e0105506970..6fe3213a48b 100644
--- a/lib/private/server.php
+++ b/lib/private/server.php
@@ -358,6 +358,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;