Merge pull request #2167 from nextcloud/mountmanager-lockdown

ensure we setup the mount manager when in lockdown
This commit is contained in:
Morris Jobke 2016-11-17 16:56:55 +01:00 committed by GitHub
commit 54ca411ff0
1 changed files with 2 additions and 2 deletions

View File

@ -451,11 +451,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'
));