(cq) rename variable

This commit is contained in:
Simon Vieille 2022-08-21 13:52:08 +02:00 committed by Gitea
parent 7b8d8800fc
commit 80532ead63

View file

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