// removed retrocompat

This commit is contained in:
fBrignoli committed 2012-04-12 09:28:07 +00:00
1 parent 5e998644d6
commit c570fa0e24
1 file changed
-4
-4
View File
@@ -158,10 +158,6 @@ class TranslateCore
if ($_MODULES == null) if ($_MODULES == null)
return str_replace('"', '"', $string); 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); $currentKey = strtolower('<{'.$name.'}'._THEME_NAME_.'>'.$source.'_'.$key);
$defaultKey = strtolower('<{'.$name.'}prestashop>'.$source.'_'.$key); $defaultKey = strtolower('<{'.$name.'}prestashop>'.$source.'_'.$key);