diff options
author | Johannes Leuker <j.leuker@hosting.de> | 2021-04-15 18:02:39 +0200 |
---|---|---|
committer | Johannes Leuker <j.leuker@hosting.de> | 2021-05-25 11:29:32 +0200 |
commit | d606799ee2b3a6e11e616cd5606901754aa70c93 (patch) | |
tree | 5dd771f5f6991a7296b0e8dc60d2745ed0a7549f /core/register_command.php | |
parent | f031dd61c14a093effeb5773323f578abd65d54f (diff) | |
download | nextcloud-server-d606799ee2b3a6e11e616cd5606901754aa70c93.tar.gz nextcloud-server-d606799ee2b3a6e11e616cd5606901754aa70c93.zip |
Add commands to manage tags via OCC
list, add, delete, edit
Signed-off-by: Johannes Leuker <j.leuker@hosting.de>
Diffstat (limited to 'core/register_command.php')
-rw-r--r-- | core/register_command.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/register_command.php b/core/register_command.php index 2a68cbcbe87..4f3e64f6f3b 100644 --- a/core/register_command.php +++ b/core/register_command.php @@ -190,6 +190,11 @@ if (\OC::$server->getConfig()->getSystemValue('installed', false)) { $application->add(new OC\Core\Command\Group\RemoveUser(\OC::$server->getUserManager(), \OC::$server->getGroupManager())); $application->add(new OC\Core\Command\Group\Info(\OC::$server->get(\OCP\IGroupManager::class))); + $application->add(new OC\Core\Command\SystemTag\ListCommand(\OC::$server->get(\OCP\SystemTag\ISystemTagManager::class))); + $application->add(new OC\Core\Command\SystemTag\Delete(\OC::$server->get(\OCP\SystemTag\ISystemTagManager::class))); + $application->add(new OC\Core\Command\SystemTag\Add(\OC::$server->get(\OCP\SystemTag\ISystemTagManager::class))); + $application->add(new OC\Core\Command\SystemTag\Edit(\OC::$server->get(\OCP\SystemTag\ISystemTagManager::class))); + $application->add(new OC\Core\Command\Security\ListCertificates(\OC::$server->getCertificateManager(), \OC::$server->getL10N('core'))); $application->add(new OC\Core\Command\Security\ImportCertificate(\OC::$server->getCertificateManager())); $application->add(new OC\Core\Command\Security\RemoveCertificate(\OC::$server->getCertificateManager())); |