summaryrefslogtreecommitdiffstats
path: root/core/register_command.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2015-06-10 17:06:51 +0200
committerJoas Schilling <nickvergessen@owncloud.com>2015-07-07 11:18:25 +0200
commit2b86eb0b292a7a0dde6997cb6ad812bf2724990f (patch)
treeddd25a554ef27fcfefd2ece10c50b763980317e0 /core/register_command.php
parent130b5d8587b9330fd004eb015f60c03cd4e9ec6c (diff)
downloadnextcloud-server-2b86eb0b292a7a0dde6997cb6ad812bf2724990f.tar.gz
nextcloud-server-2b86eb0b292a7a0dde6997cb6ad812bf2724990f.zip
Add commands to get, set and delete app config values
Diffstat (limited to 'core/register_command.php')
-rw-r--r--core/register_command.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/register_command.php b/core/register_command.php
index 2f057ed56a1..8815eca6b6b 100644
--- a/core/register_command.php
+++ b/core/register_command.php
@@ -40,6 +40,9 @@ 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\App\DeleteConfig(\OC::$server->getConfig()));
+ $application->add(new OC\Core\Command\Config\App\GetConfig(\OC::$server->getConfig()));
+ $application->add(new OC\Core\Command\Config\App\SetConfig(\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()));