aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/AppFramework
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2016-08-15 13:38:02 +0200
committerArthur Schiwon <blizzz@arthur-schiwon.de>2016-08-15 13:38:02 +0200
commit75a73a5a7301f203a962a17f6b2b8b90078c1884 (patch)
tree03c02cfbf0c0d2b8e503060f3273d508c69f3482 /lib/private/AppFramework
parent8188bb4509e62e67c8f65d6b449e9084dd7cf5a4 (diff)
downloadnextcloud-server-75a73a5a7301f203a962a17f6b2b8b90078c1884.tar.gz
nextcloud-server-75a73a5a7301f203a962a17f6b2b8b90078c1884.zip
satisfy dependencies for files_external
Diffstat (limited to 'lib/private/AppFramework')
-rw-r--r--lib/private/AppFramework/DependencyInjection/DIContainer.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/private/AppFramework/DependencyInjection/DIContainer.php b/lib/private/AppFramework/DependencyInjection/DIContainer.php
index 22bcc004626..77192847867 100644
--- a/lib/private/AppFramework/DependencyInjection/DIContainer.php
+++ b/lib/private/AppFramework/DependencyInjection/DIContainer.php
@@ -152,6 +152,10 @@ class DIContainer extends SimpleContainer implements IAppContainer {
return $this->getServer()->getMountProviderCollection();
});
+ $this->registerService('OCP\\Files\\Config\\IUserMountCache', function($c) {
+ return $this->getServer()->getUserMountCache();
+ });
+
$this->registerService('OCP\\Files\\IRootFolder', function($c) {
return $this->getServer()->getRootFolder();
});