aboutsummaryrefslogtreecommitdiffstats
path: root/core/register_command.php
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2024-01-30 12:08:38 +0100
committerCôme Chilliet <come.chilliet@nextcloud.com>2024-01-30 16:03:17 +0100
commit46f729b63b8165755f1e9a2f153c6679a7f241fc (patch)
tree598f6f3b79ee4c866341701df524aac49647ab01 /core/register_command.php
parentf4a267536a0caeef228c932a65362592a3e9e10c (diff)
downloadnextcloud-server-46f729b63b8165755f1e9a2f153c6679a7f241fc.tar.gz
nextcloud-server-46f729b63b8165755f1e9a2f153c6679a7f241fc.zip
chore: use DI for Command\Security\ListCertificates
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'core/register_command.php')
-rw-r--r--core/register_command.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/register_command.php b/core/register_command.php
index 205ea58001b..9dde2bbc223 100644
--- a/core/register_command.php
+++ b/core/register_command.php
@@ -180,7 +180,7 @@ if ($config->getSystemValueBool('installed', false)) {
$application->add(Server::get(Command\SystemTag\Add::class));
$application->add(Server::get(Command\SystemTag\Edit::class));
- $application->add(new Command\Security\ListCertificates(\OC::$server->getCertificateManager(), \OC::$server->getL10N('core')));
+ $application->add(Server::get(Command\Security\ListCertificates::class));
$application->add(Server::get(Command\Security\ImportCertificate::class));
$application->add(Server::get(Command\Security\RemoveCertificate::class));
$application->add(Server::get(Command\Security\BruteforceAttempts::class));