diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2015-05-08 09:58:47 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2015-07-07 11:18:24 +0200 |
commit | 5370bba0b69aaba94567604ab99661a528d5b052 (patch) | |
tree | 37eddd163685f3fc8b2374494d195fd061044cd2 /core/command/config | |
parent | 16907f91ed6f8193f487f7ce602632dc905332cb (diff) | |
download | nextcloud-server-5370bba0b69aaba94567604ab99661a528d5b052.tar.gz nextcloud-server-5370bba0b69aaba94567604ab99661a528d5b052.zip |
Split the system from the app config
Diffstat (limited to 'core/command/config')
-rw-r--r-- | core/command/config/listconfigs.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/core/command/config/listconfigs.php b/core/command/config/listconfigs.php index aa95402080c..c139a40e269 100644 --- a/core/command/config/listconfigs.php +++ b/core/command/config/listconfigs.php @@ -93,11 +93,13 @@ class ListConfigs extends Base { case 'all': $apps = $this->appConfig->getApps(); - $configs = []; + $configs = [ + 'system' => $this->getSystemConfigs($noSensitiveValues), + 'apps' => [], + ]; foreach ($apps as $appName) { - $configs[$appName] = $this->appConfig->getValues($appName, false); + $configs['apps'][$appName] = $this->appConfig->getValues($appName, false); } - $configs['system'] = $this->getSystemConfigs($noSensitiveValues); break; default: |