summaryrefslogtreecommitdiffstats
path: root/core/register_command.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2015-04-23 12:40:13 +0200
committerJoas Schilling <nickvergessen@owncloud.com>2015-04-23 12:40:13 +0200
commiteec92a16d639afdec72c2bd0c2f346774235c062 (patch)
treeef8a3c06f707fb2156dbe7c2a9bf0545963b2cab /core/register_command.php
parentbb5b6e5f637bb229e595169b1350ed44d6ce18c1 (diff)
downloadnextcloud-server-eec92a16d639afdec72c2bd0c2f346774235c062.tar.gz
nextcloud-server-eec92a16d639afdec72c2bd0c2f346774235c062.zip
Unify the output of the user commands and use DI
Diffstat (limited to 'core/register_command.php')
-rw-r--r--core/register_command.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/register_command.php b/core/register_command.php
index 701fb10d1ba..75c0245a924 100644
--- a/core/register_command.php
+++ b/core/register_command.php
@@ -42,11 +42,11 @@ if (\OC::$server->getConfig()->getSystemValue('installed', false)) {
$application->add(new OC\Core\Command\App\Enable());
$application->add(new OC\Core\Command\App\ListApps());
$application->add(new OC\Core\Command\Maintenance\Repair($repair, \OC::$server->getConfig()));
- $application->add(new OC\Core\Command\User\Report());
- $application->add(new OC\Core\Command\User\ResetPassword(\OC::$server->getUserManager()));
- $application->add(new OC\Core\Command\User\LastSeen());
- $application->add(new OC\Core\Command\User\Delete(\OC::$server->getUserManager()));
$application->add(new OC\Core\Command\User\Add(\OC::$server->getUserManager(), \OC::$server->getGroupManager()));
+ $application->add(new OC\Core\Command\User\Delete(\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(new OC\Core\Command\User\ResetPassword(\OC::$server->getUserManager()));
$application->add(new OC\Core\Command\Background\Cron(\OC::$server->getConfig()));
$application->add(new OC\Core\Command\Background\WebCron(\OC::$server->getConfig()));
$application->add(new OC\Core\Command\Background\Ajax(\OC::$server->getConfig()));