mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Ensure user mountpoints are setup when using getUserFolder
This commit is contained in:
parent
b33d8a3d60
commit
802c1b0b3a
1 changed files with 1 additions and 0 deletions
|
|
@ -358,6 +358,7 @@ class Server extends SimpleContainer implements IServerContainer {
|
|||
} else {
|
||||
$user = $this->getUserManager()->get($userId);
|
||||
}
|
||||
\OC\Files\Filesystem::initMountPoints($userId);
|
||||
$dir = '/' . $userId;
|
||||
$root = $this->getRootFolder();
|
||||
$folder = null;
|
||||
|
|
|
|||
Loading…
Reference in a new issue