summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2016-09-13 21:55:14 +0200
committerGitHub <noreply@github.com>2016-09-13 21:55:14 +0200
commitedb4a680e05707dded4d61434a210f4082ea4856 (patch)
tree7effae768e43a3cd9712ecc552cfef39362d01ee /lib
parent630b2ff01d64fcf2c707e80d74d9ef1af1bbc7c0 (diff)
parentcfc1c7cbd20de4f4c9513c365414f89117d575b8 (diff)
downloadnextcloud-server-edb4a680e05707dded4d61434a210f4082ea4856.tar.gz
nextcloud-server-edb4a680e05707dded4d61434a210f4082ea4856.zip
Merge pull request #1348 from karakayasemi/patch-1
Bug fix CachedMountInfo for user home storage
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Files/Config/CachedMountInfo.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Files/Config/CachedMountInfo.php b/lib/private/Files/Config/CachedMountInfo.php
index f68949f8d55..74812b3ed8c 100644
--- a/lib/private/Files/Config/CachedMountInfo.php
+++ b/lib/private/Files/Config/CachedMountInfo.php
@@ -98,7 +98,7 @@ class CachedMountInfo implements ICachedMountInfo {
// TODO injection etc
Filesystem::initMountPoints($this->getUser()->getUID());
$userNode = \OC::$server->getUserFolder($this->getUser()->getUID());
- $nodes = $userNode->getById($this->getRootId());
+ $nodes = $userNode->getParent()->getById($this->getRootId());
if (count($nodes) > 0) {
return $nodes[0];
} else {