From 2e2905e014389c28414ef34eff5978a14fd660c3 Mon Sep 17 00:00:00 2001 From: Yasen Pramatarov Date: Sat, 2 Nov 2024 17:51:12 +0200 Subject: [PATCH] Removes old unused code --- app/helpers/render.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/helpers/render.php b/app/helpers/render.php index 101bf7e..abacd65 100644 --- a/app/helpers/render.php +++ b/app/helpers/render.php @@ -13,7 +13,7 @@ function renderConfig($configPart, $indent) { if (is_array($config_value)) { // here we render recursively nested arrays $indent = $indent + 50; - renderConfig($config_value, $indent, $platform); + renderConfig($config_value, $indent); $indent = 0; } else { // if it's not array, just display it @@ -48,7 +48,7 @@ function editConfig($configPart, $indent) { if (is_array($config_value)) { // here we render recursively nested arrays $indent = $indent + 50; - editConfig($config_value, $indent, $platform); + editConfig($config_value, $indent); $indent = 0; } else { // if it's not array, just display it