]> source.dussan.org Git - nextcloud-server.git/commitdiff
ensure we setup the mount manager when in lockdown 2167/head
authorRobin Appelman <robin@icewind.nl>
Wed, 16 Nov 2016 16:24:37 +0000 (17:24 +0100)
committerRobin Appelman <robin@icewind.nl>
Wed, 16 Nov 2016 16:24:37 +0000 (17:24 +0100)
Signed-off-by: Robin Appelman <robin@icewind.nl>
lib/private/Files/Filesystem.php

index ac0e66973d41d8b8a502dc2fd1e6d1e8cc9af54f..738fc887e41c75d2c9ddebe9b16221ea4d260cb8 100644 (file)
@@ -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'
                        ));