Skip to content

Commit dfaa2c2

Browse files
committed
fix: fix LazyUserFolder::getMountPoint
Signed-off-by: Robin Appelman <robin@icewind.nl>
1 parent 37348cb commit dfaa2c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/private/Files/Node/LazyUserFolder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public function getMountPoint() {
6969
if ($this->folder !== null) {
7070
return $this->folder->getMountPoint();
7171
}
72-
$mountPoint = $this->mountManager->find('/' . $this->user->getUID());
72+
$mountPoint = $this->mountManager->find($this->path);
7373
if (is_null($mountPoint)) {
7474
throw new \Exception('No mountpoint for user folder');
7575
}

0 commit comments

Comments
 (0)