aboutsummaryrefslogtreecommitdiffstats
path: root/core/register_command.php
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2023-10-24 10:42:26 +0200
committerCôme Chilliet <91878298+come-nc@users.noreply.github.com>2023-11-06 15:26:16 +0100
commitb5eeaa90d7fd417a10e6c5096ee9643548e8a4d9 (patch)
tree49e47acfa3fd4e15044850ae09b9bc40b1252bd4 /core/register_command.php
parent81a9e19ace190ea0a64d52d95d341e25c7ad618b (diff)
downloadnextcloud-server-b5eeaa90d7fd417a10e6c5096ee9643548e8a4d9.tar.gz
nextcloud-server-b5eeaa90d7fd417a10e6c5096ee9643548e8a4d9.zip
Add a command to run the setup checks from CLI
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'core/register_command.php')
-rw-r--r--core/register_command.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/register_command.php b/core/register_command.php
index d9e5dfcd775..975dcf6c05f 100644
--- a/core/register_command.php
+++ b/core/register_command.php
@@ -214,6 +214,7 @@ if (\OC::$server->getConfig()->getSystemValue('installed', false)) {
$application->add(new OC\Core\Command\Security\RemoveCertificate(\OC::$server->getCertificateManager()));
$application->add(\OC::$server->get(\OC\Core\Command\Security\BruteforceAttempts::class));
$application->add(\OC::$server->get(\OC\Core\Command\Security\BruteforceResetAttempts::class));
+ $application->add(\OC::$server->get(\OC\Core\Command\SetupChecks::class));
} else {
$application->add(\OC::$server->get(\OC\Core\Command\Maintenance\Install::class));
}