summaryrefslogtreecommitdiffstats
path: root/core/register_command.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2015-05-15 13:01:12 +0200
committerJoas Schilling <nickvergessen@owncloud.com>2015-07-07 11:18:25 +0200
commit86952f88cbcd1a24930ad69c1c3d52f7f982b035 (patch)
treefb002f297e13f638b70f33e1fc85d0f94a05fa6c /core/register_command.php
parentbc084c40a6745a947e3650196df17f55344ca72f (diff)
downloadnextcloud-server-86952f88cbcd1a24930ad69c1c3d52f7f982b035.tar.gz
nextcloud-server-86952f88cbcd1a24930ad69c1c3d52f7f982b035.zip
Add a command to import an json array into the config
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 9ef8ca5e58b..2f057ed56a1 100644
--- a/core/register_command.php
+++ b/core/register_command.php
@@ -40,6 +40,7 @@ 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\Import(\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\DeleteConfig(\OC::$server->getSystemConfig()));
$application->add(new OC\Core\Command\Config\System\GetConfig(\OC::$server->getSystemConfig()));