summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2016-11-16 17:24:37 +0100
committerRobin Appelman <robin@icewind.nl>2016-11-16 17:24:37 +0100
commita7c0d997059b201c3816b0654151be6db17d5246 (patch)
tree34c3f5c5fdbca0abef03af6146ec7b23ac7ab614 /lib
parent61453f5fd5eb3e742d1c757def36ce8f6be408f3 (diff)
downloadnextcloud-server-a7c0d997059b201c3816b0654151be6db17d5246.tar.gz
nextcloud-server-a7c0d997059b201c3816b0654151be6db17d5246.zip
ensure we setup the mount manager when in lockdown
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib')
-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 ac0e66973d4..738fc887e41 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'
));