Remove unused $lang template variable

This commit is contained in:
Benjamin Renard 2022-04-24 20:19:28 +02:00
parent 0219714d4a
commit e533ec9148

View file

@ -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);
}
}