summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/private/Files/Filesystem.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/Files/Filesystem.php b/lib/private/Files/Filesystem.php
index 42a6d950332..51e494c372e 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'
));