aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Files/Filesystem.php
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2017-02-15 15:00:21 +0100
committerRobin Appelman <robin@icewind.nl>2017-03-22 17:15:42 +0100
commit714f198a5ddf66a813c82d77f400f27d7deebe51 (patch)
tree40693444e848e3f90a321cb7bacbd890986964f0 /lib/private/Files/Filesystem.php
parent11c4875190aced582f23b2041664972a3769008f (diff)
downloadnextcloud-server-714f198a5ddf66a813c82d77f400f27d7deebe51.tar.gz
nextcloud-server-714f198a5ddf66a813c82d77f400f27d7deebe51.zip
mount shared mounts last
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib/private/Files/Filesystem.php')
-rw-r--r--lib/private/Files/Filesystem.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/private/Files/Filesystem.php b/lib/private/Files/Filesystem.php
index 51e494c372e..22b14e44074 100644
--- a/lib/private/Files/Filesystem.php
+++ b/lib/private/Files/Filesystem.php
@@ -443,8 +443,7 @@ class Filesystem {
// Chance to mount for other storages
if ($userObject) {
- $mounts = $mountConfigManager->getMountsForUser($userObject);
- array_walk($mounts, array(self::$mounts, 'addMount'));
+ $mounts = $mountConfigManager->addMountForUser($userObject, self::getMountManager());
$mounts[] = $homeMount;
$mountConfigManager->registerMounts($userObject, $mounts);
}