diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2016-08-25 21:44:27 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2016-08-25 22:00:18 +0200 |
commit | 36481a0a2ac93c265a902608e5c504d627943501 (patch) | |
tree | dd3a78a75b450fc91c6a87153a46d1b4ebe76667 /core | |
parent | 2f03853fb9407e23efb1ea151f53918dc6b5d733 (diff) | |
download | nextcloud-server-36481a0a2ac93c265a902608e5c504d627943501.tar.gz nextcloud-server-36481a0a2ac93c265a902608e5c504d627943501.zip |
Remove unused core wrappers
Diffstat (limited to 'core')
-rw-r--r-- | core/Application.php | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/core/Application.php b/core/Application.php index 55bbc49797f..0c69394c979 100644 --- a/core/Application.php +++ b/core/Application.php @@ -31,13 +31,11 @@ namespace OC\Core; use OC\AppFramework\Utility\SimpleContainer; use OC\AppFramework\Utility\TimeFactory; -use OC\Core\Controller\AvatarController; use OC\Core\Controller\LoginController; use OC\Core\Controller\LostController; use OC\Core\Controller\TokenController; use OC\Core\Controller\TwoFactorChallengeController; use OC\Core\Controller\UserController; -use OCP\Defaults; use OCP\AppFramework\App; use OCP\Util; @@ -137,33 +135,18 @@ class Application extends App { $container->registerService('SecureRandom', function(SimpleContainer $c) { return $c->query('ServerContainer')->getSecureRandom(); }); - $container->registerService('AvatarManager', function(SimpleContainer $c) { - return $c->query('ServerContainer')->getAvatarManager(); - }); $container->registerService('Session', function(SimpleContainer $c) { return $c->query('ServerContainer')->getSession(); }); $container->registerService('UserSession', function(SimpleContainer $c) { return $c->query('ServerContainer')->getUserSession(); }); - $container->registerService('Session', function(SimpleContainer $c) { - return $c->query('ServerContainer')->getSession(); - }); - $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(SimpleContainer $c) { return $c->query('ServerContainer')->getThemingDefaults(); }); $container->registerService('Mailer', function(SimpleContainer $c) { return $c->query('ServerContainer')->getMailer(); }); - $container->registerService('Logger', function(SimpleContainer $c) { - return $c->query('ServerContainer')->getLogger(); - }); $container->registerService('TimeFactory', function(SimpleContainer $c) { return new TimeFactory(); }); @@ -173,9 +156,6 @@ class Application extends App { $container->registerService('TwoFactorAuthManager', function(SimpleContainer $c) { return $c->query('ServerContainer')->getTwoFactorAuthManager(); }); - $container->registerService('OC\CapabilitiesManager', function(SimpleContainer $c) { - return $c->query('ServerContainer')->getCapabilitiesManager(); - }); } } |