(cq) rename variable

This commit is contained in:
Simon Vieille 2022-08-21 13:52:08 +02:00
parent 059002ef1c
commit 84b50710a6
Signed by: deblan
GPG key ID: 579388D585F70417

View file

@ -69,7 +69,7 @@ class AdminSettingController extends Controller
public function exportConfiguration() public function exportConfiguration()
{ {
$keys = $this->config->getAppKeys(Application::APP_ID); $keys = $this->config->getAppKeys(Application::APP_ID);
$config = []; $appConfig = [];
$excludedKeys = [ $excludedKeys = [
'cache', 'cache',
'cache-categories', 'cache-categories',
@ -80,11 +80,11 @@ class AdminSettingController extends Controller
continue; continue;
} }
$config[$key] = $this->config->getAppValue(Application::APP_ID, $key); $appConfig[$key] = $this->config->getAppValue(Application::APP_ID, $key);
} }
return new DataDownloadResponse( return new DataDownloadResponse(
json_encode($config, JSON_PRETTY_PRINT), json_encode($appConfig, JSON_PRETTY_PRINT),
'config.json', 'config.json',
'text/json' 'text/json'
); );