aboutsummaryrefslogtreecommitdiffstats
path: root/core/Application.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2016-08-25 21:39:14 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2016-08-25 21:39:14 +0200
commit2f03853fb9407e23efb1ea151f53918dc6b5d733 (patch)
tree4f2352e4f1969c049a5fa88412849fad8e2918de /core/Application.php
parent680d7f22bbdcc41a89a333d19ec3f55bc75dd525 (diff)
downloadnextcloud-server-2f03853fb9407e23efb1ea151f53918dc6b5d733.tar.gz
nextcloud-server-2f03853fb9407e23efb1ea151f53918dc6b5d733.zip
AvatarController cleanup
* Use all DI components * Let the AppFramework resolve the AvatarController * Update unit tests * Unit tests no longer require DB
Diffstat (limited to 'core/Application.php')
-rw-r--r--core/Application.php13
1 files changed, 0 insertions, 13 deletions
diff --git a/core/Application.php b/core/Application.php
index e8c924432d1..55bbc49797f 100644
--- a/core/Application.php
+++ b/core/Application.php
@@ -83,19 +83,6 @@ class Application extends App {
$c->query('Defaults')
);
});
- $container->registerService('AvatarController', function(SimpleContainer $c) {
- return new AvatarController(
- $c->query('AppName'),
- $c->query('Request'),
- $c->query('AvatarManager'),
- $c->query('Cache'),
- $c->query('L10N'),
- $c->query('UserManager'),
- $c->query('UserSession'),
- $c->query('UserFolder'),
- $c->query('Logger')
- );
- });
$container->registerService('LoginController', function(SimpleContainer $c) {
return new LoginController(
$c->query('AppName'),