mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
fix: fix LazyUserFolder::getMountPoint
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
59b9ef6bab
commit
81783a9638
1 changed files with 1 additions and 1 deletions
|
|
@ -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');
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue