// removed retrocompat
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@14596 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
1 parent
08244ef34b
commit
4087fee9c7
1 file changed
-4
@@ -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);
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user