summaryrefslogtreecommitdiffstats
path: root/lib/private/Server.php
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2016-05-17 21:40:55 +0200
committerThomas Müller <DeepDiver1975@users.noreply.github.com>2016-05-17 21:40:55 +0200
commitde5b7609f96e166b96b7380e62d32ac51d85d50f (patch)
tree4abf914475773f70294ad4be8dad6c00871dca37 /lib/private/Server.php
parent7dbdf2f7e0192b77761a3f3eb90aa7c39b240e21 (diff)
downloadnextcloud-server-de5b7609f96e166b96b7380e62d32ac51d85d50f.tar.gz
nextcloud-server-de5b7609f96e166b96b7380e62d32ac51d85d50f.zip
use mount providers to setup home storages (#24567)
Diffstat (limited to 'lib/private/Server.php')
-rw-r--r--lib/private/Server.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/private/Server.php b/lib/private/Server.php
index a6f1425d545..8ece9addd3d 100644
--- a/lib/private/Server.php
+++ b/lib/private/Server.php
@@ -49,6 +49,8 @@ use OC\Diagnostics\QueryLogger;
use OC\Files\Config\UserMountCache;
use OC\Files\Config\UserMountCacheListener;
use OC\Files\Mount\CacheMountProvider;
+use OC\Files\Mount\LocalHomeMountProvider;
+use OC\Files\Mount\ObjectHomeMountProvider;
use OC\Files\Node\HookConnector;
use OC\Files\Node\LazyRoot;
use OC\Files\Node\Root;
@@ -479,6 +481,8 @@ class Server extends ServerContainer implements IServerContainer {
$config = $c->getConfig();
$manager->registerProvider(new CacheMountProvider($config));
+ $manager->registerHomeProvider(new LocalHomeMountProvider());
+ $manager->registerHomeProvider(new ObjectHomeMountProvider($config));
return $manager;
});