Skip to content

Commit

Permalink
Merge pull request #26017 from karakayasemi/patch-1
Browse files Browse the repository at this point in the history
Update CachedMountInfo for user home storage
  • Loading branch information
Vincent Petry authored Sep 7, 2016
2 parents 1d40aae + 14df995 commit 6943d81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/private/Files/Config/CachedMountInfo.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public function getMountPointNode() {
// 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 {
Expand Down

0 comments on commit 6943d81

Please sign in to comment.