Ensure user mountpoints are setup when using getUserFolder

This commit is contained in:
Robin Appelman 2014-12-11 14:34:30 +01:00
parent b33d8a3d60
commit 802c1b0b3a

View file

@ -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;