Remove unused $lang template variable
This commit is contained in:
parent
0219714d4a
commit
e533ec9148
1 changed files with 0 additions and 1 deletions
|
@ -143,6 +143,5 @@ function init_translation() {
|
||||||
$js_translation_file = "translations/$lang.js";
|
$js_translation_file = "translations/$lang.js";
|
||||||
if (php_sapi_name() != "cli" && is_file("$root_dir_path/public_html/$js_translation_file")) {
|
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));
|
add_js_file(array("lib/babel.js", "js/translation.js", $js_translation_file));
|
||||||
$smarty->assign('lang', $lang);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue