// removed retrocompat

This commit is contained in:
fBrignoli
2012-04-12 09:28:07 +00:00
parent 5e998644d6
commit c570fa0e24
-4
View File
@@ -158,10 +158,6 @@ class TranslateCore
if ($_MODULES == null)
return str_replace('"', '"', $string);
// set array key to lowercase for 1.3 compatibility
if (version_compare(_PS_VERSION_, '1.3.0.0') <= 0)
$_MODULES = array_change_key_case($_MODULES);
$currentKey = strtolower('<{'.$name.'}'._THEME_NAME_.'>'.$source.'_'.$key);
$defaultKey = strtolower('<{'.$name.'}prestashop>'.$source.'_'.$key);