summaryrefslogtreecommitdiffstats
path: root/core/register_command.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2015-04-30 15:57:22 +0200
committerJoas Schilling <nickvergessen@owncloud.com>2015-07-07 11:18:24 +0200
commit6763637773f5b9f2993f65427be21ee04f192ea1 (patch)
treeb191ba23def30b2337ea095e11ada0137f425be1 /core/register_command.php
parent6fb3a8d5f5a290208b116fa0b589d9b7d691bdd7 (diff)
downloadnextcloud-server-6763637773f5b9f2993f65427be21ee04f192ea1.tar.gz
nextcloud-server-6763637773f5b9f2993f65427be21ee04f192ea1.zip
Add a command to list existing configs
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 925d3d8ade1..b4c3576bb4d 100644
--- a/core/register_command.php
+++ b/core/register_command.php
@@ -40,6 +40,8 @@ if (\OC::$server->getConfig()->getSystemValue('installed', false)) {
$application->add(new OC\Core\Command\Background\WebCron(\OC::$server->getConfig()));
$application->add(new OC\Core\Command\Background\Ajax(\OC::$server->getConfig()));
+ $application->add(new OC\Core\Command\Config\ListConfigs(\OC::$server->getSystemConfig(), \OC::$server->getAppConfig()));
+
$application->add(new OC\Core\Command\Db\GenerateChangeScript());
$application->add(new OC\Core\Command\Db\ConvertType(\OC::$server->getConfig(), new \OC\DB\ConnectionFactory()));