summaryrefslogtreecommitdiffstats
path: root/core/register_command.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2015-05-08 10:54:40 +0200
committerJoas Schilling <nickvergessen@owncloud.com>2015-07-07 11:18:25 +0200
commita83eac3762fff010e154e2f80cb4f0bd716d8d43 (patch)
tree61b5cf437e648d5c10ad906d9ed33054e3f344b0 /core/register_command.php
parent5370bba0b69aaba94567604ab99661a528d5b052 (diff)
downloadnextcloud-server-a83eac3762fff010e154e2f80cb4f0bd716d8d43.tar.gz
nextcloud-server-a83eac3762fff010e154e2f80cb4f0bd716d8d43.zip
Add a command to set a system config value
Diffstat (limited to 'core/register_command.php')
-rw-r--r--core/register_command.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/register_command.php b/core/register_command.php
index b4c3576bb4d..f3c0a375c5b 100644
--- a/core/register_command.php
+++ b/core/register_command.php
@@ -41,6 +41,7 @@ if (\OC::$server->getConfig()->getSystemValue('installed', false)) {
$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\Config\System\SetConfig(\OC::$server->getSystemConfig()));
$application->add(new OC\Core\Command\Db\GenerateChangeScript());
$application->add(new OC\Core\Command\Db\ConvertType(\OC::$server->getConfig(), new \OC\DB\ConnectionFactory()));