diff --git a/lib/private/Files/Filesystem.php b/lib/private/Files/Filesystem.php index 42a6d95033263d5141a63f558a847bb5d9e84d4b..51e494c372eeab25e6a91367ea3d1c0fefc716af 100644 --- a/lib/private/Files/Filesystem.php +++ b/lib/private/Files/Filesystem.php @@ -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' ));