diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2015-07-07 11:25:29 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2015-07-07 11:25:29 +0200 |
commit | e5bc9d06195f95940fda5b600560c11dcd720636 (patch) | |
tree | 1e28b7e2f348b0b3e145acb1f945630746e26a08 /core/command/config | |
parent | 971060862e7fac14b95cc6cf81510d9992a929a6 (diff) | |
download | nextcloud-server-e5bc9d06195f95940fda5b600560c11dcd720636.tar.gz nextcloud-server-e5bc9d06195f95940fda5b600560c11dcd720636.zip |
Make it possible to import exportet app/system configs
Diffstat (limited to 'core/command/config')
-rw-r--r-- | core/command/config/listconfigs.php | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/core/command/config/listconfigs.php b/core/command/config/listconfigs.php index c139a40e269..c93d26cbda4 100644 --- a/core/command/config/listconfigs.php +++ b/core/command/config/listconfigs.php @@ -88,7 +88,9 @@ class ListConfigs extends Base { switch ($app) { case 'system': - $configs = $this->getSystemConfigs($noSensitiveValues); + $configs = [ + 'system' => $this->getSystemConfigs($noSensitiveValues), + ]; break; case 'all': @@ -103,7 +105,11 @@ class ListConfigs extends Base { break; default: - $configs = $this->appConfig->getValues($app, false); + $configs = [ + 'apps' => [ + $app => $this->appConfig->getValues($app, false), + ], + ]; } $this->writeArrayInOutputFormat($input, $output, $configs); |