diff --git a/lib/private/Files/Filesystem.php b/lib/private/Files/Filesystem.php index 42a6d95033..51e494c372 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' ));