summaryrefslogtreecommitdiffstats
path: root/core/register_command.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2020-08-19 09:31:41 +0200
committerMorris Jobke <hey@morrisjobke.de>2020-08-19 09:31:41 +0200
commit7506cbb1c4a3f48d21c3ace6bee705aad2e1f91a (patch)
treed093c7ec4ac77b952e1731b7b93e09c7a0e2713e /core/register_command.php
parent746e3f174fcd45ff5b6234263dc6371f9573a237 (diff)
downloadnextcloud-server-7506cbb1c4a3f48d21c3ace6bee705aad2e1f91a.tar.gz
nextcloud-server-7506cbb1c4a3f48d21c3ace6bee705aad2e1f91a.zip
Show disabled user count in occ user:report
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
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 412e8ba8678..c2a3f76b6c3 100644
--- a/core/register_command.php
+++ b/core/register_command.php
@@ -162,7 +162,7 @@ if (\OC::$server->getConfig()->getSystemValue('installed', false)) {
$application->add(new OC\Core\Command\User\Disable(\OC::$server->getUserManager()));
$application->add(new OC\Core\Command\User\Enable(\OC::$server->getUserManager()));
$application->add(new OC\Core\Command\User\LastSeen(\OC::$server->getUserManager()));
- $application->add(new OC\Core\Command\User\Report(\OC::$server->getUserManager()));
+ $application->add(\OC::$server->get(\OC\Core\Command\User\Report::class));
$application->add(new OC\Core\Command\User\ResetPassword(\OC::$server->getUserManager()));
$application->add(new OC\Core\Command\User\Setting(\OC::$server->getUserManager(), \OC::$server->getConfig(), \OC::$server->getDatabaseConnection()));
$application->add(new OC\Core\Command\User\ListCommand(\OC::$server->getUserManager(), \OC::$server->getGroupManager()));