From a7c0d997059b201c3816b0654151be6db17d5246 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Wed, 16 Nov 2016 17:24:37 +0100 Subject: [PATCH] ensure we setup the mount manager when in lockdown Signed-off-by: Robin Appelman --- lib/private/Files/Filesystem.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/private/Files/Filesystem.php b/lib/private/Files/Filesystem.php index ac0e66973d..738fc887e4 100644 --- a/lib/private/Files/Filesystem.php +++ b/lib/private/Files/Filesystem.php @@ -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' ));