ensure we setup the mount manager when in lockdown

Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
Robin Appelman 2016-11-16 17:24:37 +01:00
parent 61453f5fd5
commit a7c0d99705
No known key found for this signature in database
GPG key ID: 425003AC385454C5

View file

@ -448,11 +448,11 @@ class Filesystem {
self::listenForNewMountProviders($mountConfigManager, $userManager);
} else {
self::$mounts->addMount(new MountPoint(
self::getMountManager()->addMount(new MountPoint(
new NullStorage([]),
'/' . $user
));
self::$mounts->addMount(new MountPoint(
self::getMountManager()->addMount(new MountPoint(
new NullStorage([]),
'/' . $user . '/files'
));