summaryrefslogtreecommitdiffstats
path: root/core/application.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2015-03-12 11:13:12 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2015-08-18 14:48:19 +0200
commit65cf4028cc418eba6ddd2aee124de8626148cb57 (patch)
tree1b1416ef3ffde655a50858ac44390e3d3a0721ae /core/application.php
parentffff156965beaf52a22a024e240bf56a9f8d2b44 (diff)
downloadnextcloud-server-65cf4028cc418eba6ddd2aee124de8626148cb57.tar.gz
nextcloud-server-65cf4028cc418eba6ddd2aee124de8626148cb57.zip
Move avatarcontroller towards Node Api
Diffstat (limited to 'core/application.php')
-rw-r--r--core/application.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/core/application.php b/core/application.php
index 0fbb8dacdb7..373965e7fd7 100644
--- a/core/application.php
+++ b/core/application.php
@@ -82,7 +82,8 @@ class Application extends App {
$c->query('Cache'),
$c->query('L10N'),
$c->query('UserManager'),
- $c->query('UserSession')
+ $c->query('UserSession'),
+ $c->query('UserFolder')
);
});
@@ -116,6 +117,10 @@ class Application extends App {
$container->registerService('Cache', function(SimpleContainer $c) {
return $c->query('ServerContainer')->getCache();
});
+ $container->registerService('UserFolder', function(SimpleContainer $c) {
+ return $c->query('ServerContainer')->getUserFolder();
+ });
+
$container->registerService('Defaults', function() {