fix: fix LazyUserFolder::getMountPoint

Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
Robin Appelman 2026-04-10 18:39:39 +02:00 committed by backportbot[bot]
parent 59b9ef6bab
commit 81783a9638

View file

@ -69,7 +69,7 @@ class LazyUserFolder extends LazyFolder {
if ($this->folder !== null) {
return $this->folder->getMountPoint();
}
$mountPoint = $this->mountManager->find('/' . $this->user->getUID());
$mountPoint = $this->mountManager->find($this->path);
if (is_null($mountPoint)) {
throw new \Exception('No mountpoint for user folder');
}