aboutsummaryrefslogtreecommitdiffstats
path: root/apps/settings/lib/AppInfo
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2020-11-03 00:11:27 +0100
committerMorris Jobke <hey@morrisjobke.de>2020-11-03 10:06:33 +0100
commit9435ec2b4ed503bfb978028f21446aa6c6b75712 (patch)
treee6a8b7323678359732f9a54b742b02cbdcb46ea7 /apps/settings/lib/AppInfo
parent1c496a5a356249dc5bd7c1bbb64ae262b2f8fdab (diff)
downloadnextcloud-server-9435ec2b4ed503bfb978028f21446aa6c6b75712.tar.gz
nextcloud-server-9435ec2b4ed503bfb978028f21446aa6c6b75712.zip
Remove unneeded service - found by Psalm
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'apps/settings/lib/AppInfo')
-rw-r--r--apps/settings/lib/AppInfo/Application.php10
1 files changed, 0 insertions, 10 deletions
diff --git a/apps/settings/lib/AppInfo/Application.php b/apps/settings/lib/AppInfo/Application.php
index 2471400cb07..fe9ba63b012 100644
--- a/apps/settings/lib/AppInfo/Application.php
+++ b/apps/settings/lib/AppInfo/Application.php
@@ -98,16 +98,6 @@ class Application extends App implements IBootstrap {
}
return $isSubAdmin;
});
- $context->registerService('userCertificateManager', function (IAppContainer $appContainer) {
- /** @var IServerContainer $serverContainer */
- $serverContainer = $appContainer->get(IServerContainer::class);
- return $serverContainer->getCertificateManager();
- }, false);
- $context->registerService('systemCertificateManager', function (IAppContainer $appContainer) {
- /** @var IServerContainer $serverContainer */
- $serverContainer = $appContainer->query('ServerContainer');
- return $serverContainer->getCertificateManager(null);
- }, false);
$context->registerService(IProvider::class, function (IAppContainer $appContainer) {
/** @var IServerContainer $serverContainer */
$serverContainer = $appContainer->query(IServerContainer::class);