diff options
author | Denis Mosolov <denismosolov@gmail.com> | 2018-07-22 20:29:07 +0300 |
---|---|---|
committer | Denis Mosolov <denismosolov@gmail.com> | 2018-08-16 10:31:20 +0300 |
commit | 0b18e2c75da4474d9ab7c018209b17d584185939 (patch) | |
tree | 90a9d88bce431e5fa554ed3ff0e804a23c97107a /core/register_command.php | |
parent | 61397ee091287e983d0ff345b0e43fb4a3329f19 (diff) | |
download | nextcloud-server-0b18e2c75da4474d9ab7c018209b17d584185939.tar.gz nextcloud-server-0b18e2c75da4474d9ab7c018209b17d584185939.zip |
Add an options to create and remove groups via occ
Signed-off-by: Denis Mosolov <denismosolov@gmail.com>
Diffstat (limited to 'core/register_command.php')
-rw-r--r-- | core/register_command.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/register_command.php b/core/register_command.php index 0115c179bf9..744ee23e16b 100644 --- a/core/register_command.php +++ b/core/register_command.php @@ -154,6 +154,8 @@ if (\OC::$server->getConfig()->getSystemValue('installed', false)) { $application->add(new OC\Core\Command\User\ListCommand(\OC::$server->getUserManager())); $application->add(new OC\Core\Command\User\Info(\OC::$server->getUserManager(), \OC::$server->getGroupManager())); + $application->add(new OC\Core\Command\Group\Add(\OC::$server->getGroupManager())); + $application->add(new OC\Core\Command\Group\Delete(\OC::$server->getGroupManager())); $application->add(new OC\Core\Command\Group\ListCommand(\OC::$server->getGroupManager())); $application->add(new OC\Core\Command\Group\AddUser(\OC::$server->getUserManager(), \OC::$server->getGroupManager())); $application->add(new OC\Core\Command\Group\RemoveUser(\OC::$server->getUserManager(), \OC::$server->getGroupManager())); |