Merge pull request #59655 from nextcloud/backport/59651/stable33

This commit is contained in:
Benjamin Gaussorgues 2026-04-20 14:49:48 +02:00 committed by GitHub
commit 2c8787426d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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');
}