summaryrefslogtreecommitdiffstats
path: root/core/register_command.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2016-07-14 13:23:54 +0200
committerMorris Jobke <hey@morrisjobke.de>2016-07-19 09:58:59 +0200
commit413d577b296613af9bb507738e1692e17692e685 (patch)
tree3998d13c53afac6e1536e22c3d0354c0d18918ca /core/register_command.php
parentb44d439010dc0718d7314999881956a29ad834eb (diff)
downloadnextcloud-server-413d577b296613af9bb507738e1692e17692e685.tar.gz
nextcloud-server-413d577b296613af9bb507738e1692e17692e685.zip
add command to list groups
Diffstat (limited to 'core/register_command.php')
-rw-r--r--core/register_command.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/register_command.php b/core/register_command.php
index 99f11c2d7e9..390fb8cdffe 100644
--- a/core/register_command.php
+++ b/core/register_command.php
@@ -139,6 +139,8 @@ if (\OC::$server->getConfig()->getSystemValue('installed', false)) {
$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()));
+ $application->add(new OC\Core\Command\Group\ListCommand(\OC::$server->getGroupManager()));
+
$application->add(new OC\Core\Command\Security\ListCertificates(\OC::$server->getCertificateManager(null), \OC::$server->getL10N('core')));
$application->add(new OC\Core\Command\Security\ImportCertificate(\OC::$server->getCertificateManager(null)));
$application->add(new OC\Core\Command\Security\RemoveCertificate(\OC::$server->getCertificateManager(null)));