// 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:
rMalie
2011-07-27 08:03:00 +00:00
parent c9ad75fe11
commit dd5109b3f5
5 changed files with 5 additions and 77 deletions
-14
View File
@@ -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
*