Removes old unused code
parent
75370231e9
commit
2e2905e014
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue