From e533ec91483a73c768bedb1fc74d6059f8233e77 Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Sun, 24 Apr 2022 20:19:28 +0200 Subject: [PATCH] Remove unused $lang template variable --- includes/translation.php | 1 - 1 file changed, 1 deletion(-) diff --git a/includes/translation.php b/includes/translation.php index 9667e3e..52ed33b 100644 --- a/includes/translation.php +++ b/includes/translation.php @@ -143,6 +143,5 @@ function init_translation() { $js_translation_file = "translations/$lang.js"; if (php_sapi_name() != "cli" && is_file("$root_dir_path/public_html/$js_translation_file")) { add_js_file(array("lib/babel.js", "js/translation.js", $js_translation_file)); - $smarty->assign('lang', $lang); } }