Removes old unused code

main
Yasen Pramatarov 2024-11-02 17:43:00 +02:00
parent 8ada088ebb
commit 422413f45d
1 changed files with 1 additions and 8 deletions

View File

@ -13,14 +13,7 @@ function renderConfig($configPart, $indent, $platform=false, $parent='') {
if (is_array($config_value)) { if (is_array($config_value)) {
// here we render recursively nested arrays // here we render recursively nested arrays
$indent = $indent + 50; $indent = $indent + 50;
if ($parent === 'platforms') { renderConfig($config_value, $indent, $platform);
$indent = 100;
}
if ($config_item === 'platforms') {
renderConfig($config_value, $indent, $platform, 'platforms');
} else {
renderConfig($config_value, $indent, $platform);
}
$indent = 0; $indent = 0;
} else { } else {
// if it's not array, just display it // if it's not array, just display it