Removes old unused code

main
Yasen Pramatarov 2024-11-02 17:51:12 +02:00
parent 75370231e9
commit 2e2905e014
1 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ function renderConfig($configPart, $indent) {
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;
renderConfig($config_value, $indent, $platform); renderConfig($config_value, $indent);
$indent = 0; $indent = 0;
} else { } else {
// if it's not array, just display it // if it's not array, just display it
@ -48,7 +48,7 @@ function editConfig($configPart, $indent) {
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;
editConfig($config_value, $indent, $platform); editConfig($config_value, $indent);
$indent = 0; $indent = 0;
} else { } else {
// if it's not array, just display it // if it's not array, just display it