summaryrefslogtreecommitdiffstats
path: root/core/register_command.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2015-12-24 16:17:23 +0100
committerRobin Appelman <icewind@owncloud.com>2016-01-13 14:35:37 +0100
commitc67a09112bb8d9e92c2de76c67b6532dfbfcab4d (patch)
treed133156c4614f83a3b366cba0d3f28dc3798e9f0 /core/register_command.php
parent1fca96656d0f64e00d26cdcd2e8788c640f1230b (diff)
downloadnextcloud-server-c67a09112bb8d9e92c2de76c67b6532dfbfcab4d.tar.gz
nextcloud-server-c67a09112bb8d9e92c2de76c67b6532dfbfcab4d.zip
Add occ commands to manager trusted certificates
Diffstat (limited to 'core/register_command.php')
-rw-r--r--core/register_command.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/register_command.php b/core/register_command.php
index 2875af15caf..a7dd7414790 100644
--- a/core/register_command.php
+++ b/core/register_command.php
@@ -112,6 +112,10 @@ if (\OC::$server->getConfig()->getSystemValue('installed', false)) {
$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\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)));
} else {
$application->add(new OC\Core\Command\Maintenance\Install(\OC::$server->getConfig()));
}