summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2016-11-17 16:56:55 +0100
committerGitHub <noreply@github.com>2016-11-17 16:56:55 +0100
commit54ca411ff097d64d33c2d1e90102ef1fb1927f40 (patch)
treed6e7c561ef6fdae3b37eb77796abc5d26c61ee48 /lib
parent9cec82d084f48002c960820e9d092ba429c25e08 (diff)
parenta7c0d997059b201c3816b0654151be6db17d5246 (diff)
downloadnextcloud-server-54ca411ff097d64d33c2d1e90102ef1fb1927f40.tar.gz
nextcloud-server-54ca411ff097d64d33c2d1e90102ef1fb1927f40.zip
Merge pull request #2167 from nextcloud/mountmanager-lockdown
ensure we setup the mount manager when in lockdown
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 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'
));