// Fix adminMeta page + bug #PSFV-39
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@7745 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -910,20 +910,6 @@ class ToolsCore
|
||||
return (int)($row['total']);
|
||||
}
|
||||
|
||||
/*
|
||||
** Historyc translation function kept for compatibility
|
||||
** Removing soon
|
||||
*/
|
||||
public static function historyc_l($key, $translations)
|
||||
{
|
||||
if (!$translations OR !is_array($translations))
|
||||
die(self::displayError());
|
||||
$iso = strtoupper(Language::getIsoById($cookie->id_lang));
|
||||
$lang = key_exists($context->language->iso_code, $translations) ? $translations[$context->language->iso_code] : false;
|
||||
return (($lang AND is_array($lang) AND key_exists($key, $lang)) ? stripslashes($lang[$key]) : $key);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Return the friendly url from the provided string
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user