diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2015-03-12 11:13:12 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2015-08-18 14:48:19 +0200 |
commit | 65cf4028cc418eba6ddd2aee124de8626148cb57 (patch) | |
tree | 1b1416ef3ffde655a50858ac44390e3d3a0721ae /core/application.php | |
parent | ffff156965beaf52a22a024e240bf56a9f8d2b44 (diff) | |
download | nextcloud-server-65cf4028cc418eba6ddd2aee124de8626148cb57.tar.gz nextcloud-server-65cf4028cc418eba6ddd2aee124de8626148cb57.zip |
Move avatarcontroller towards Node Api
Diffstat (limited to 'core/application.php')
-rw-r--r-- | core/application.php | 7 |
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() { |