diff options
author | Joas Schilling <coding@schilljs.com> | 2016-10-05 15:40:01 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2016-10-05 15:40:01 +0200 |
commit | 92b564a3b99f10abf20ec2ec43e54ea924a956d5 (patch) | |
tree | a4c2780e8c1b473eebe3afe3140b2a28785a0dfd /settings/Application.php | |
parent | 3395977d8fbfe181898df8c153ea6dd9d26eb883 (diff) | |
download | nextcloud-server-92b564a3b99f10abf20ec2ec43e54ea924a956d5.tar.gz nextcloud-server-92b564a3b99f10abf20ec2ec43e54ea924a956d5.zip |
Remove unneeded service definitions
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'settings/Application.php')
-rw-r--r-- | settings/Application.php | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/settings/Application.php b/settings/Application.php index eceb2b6937c..5a47be7b3d4 100644 --- a/settings/Application.php +++ b/settings/Application.php @@ -33,15 +33,11 @@ namespace OC\Settings; use OC\Files\View; use OC\Server; use OC\Settings\Controller\AdminSettingsController; -use OC\Settings\Controller\AppSettingsController; use OC\Settings\Controller\AuthSettingsController; use OC\Settings\Controller\CertificateController; -use OC\Settings\Controller\CheckSetupController; use OC\Settings\Controller\EncryptionController; use OC\Settings\Controller\GroupsController; -use OC\Settings\Controller\LogSettingsController; use OC\Settings\Controller\MailSettingsController; -use OC\Settings\Controller\SecuritySettingsController; use OC\Settings\Controller\UsersController; use OC\Settings\Middleware\SubadminMiddleware; use OCP\AppFramework\App; @@ -89,18 +85,6 @@ class Application extends App { $c->query('Logger') ); }); - $container->registerService('AppSettingsController', function(IContainer $c) { - return new AppSettingsController( - $c->query('AppName'), - $c->query('Request'), - $c->query('L10N'), - $c->query('Config'), - $c->query('ICacheFactory'), - $c->query('INavigationManager'), - $c->query('IAppManager'), - $c->query('OcsClient') - ); - }); $container->registerService('AuthSettingsController', function(IContainer $c) { return new AuthSettingsController( $c->query('AppName'), @@ -112,13 +96,6 @@ class Application extends App { $c->query('UserId') ); }); - $container->registerService('SecuritySettingsController', function(IContainer $c) { - return new SecuritySettingsController( - $c->query('AppName'), - $c->query('Request'), - $c->query('Config') - ); - }); $container->registerService('CertificateController', function(IContainer $c) { return new CertificateController( $c->query('AppName'), @@ -158,27 +135,6 @@ class Application extends App { $c->query('OCP\\IAvatarManager') ); }); - $container->registerService('LogSettingsController', function(IContainer $c) { - return new LogSettingsController( - $c->query('AppName'), - $c->query('Request'), - $c->query('Config'), - $c->query('L10N') - ); - }); - $container->registerService('CheckSetupController', function(IContainer $c) { - return new CheckSetupController( - $c->query('AppName'), - $c->query('Request'), - $c->query('Config'), - $c->query('ClientService'), - $c->query('URLGenerator'), - $c->query('Util'), - $c->query('L10N'), - $c->query('Checker'), - $c->query('Logger') - ); - }); $container->registerService('AdminSettingsController', function(IContainer $c) { return new AdminSettingsController( $c->query('AppName'), |