// remove 1.4 deprecated functions

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@7755 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
tDidierjean
2011-07-27 09:51:43 +00:00
parent 86fd2a4648
commit 4ade3a0ea0
22 changed files with 5 additions and 1088 deletions
-14
View File
@@ -276,20 +276,6 @@ class AddressCore extends ObjectModel
return isset($result['used']) ? $result['used'] : false;
}
/**
* @param int $id_address
* @return int
* @deprecated
*/
static public function getManufacturerIdByAddress($id_address)
{
Tools::displayAsDeprecated();
$result = Db::getInstance(_PS_USE_SQL_SLAVE_)->getRow('
SELECT `id_manufacturer` FROM `'._DB_PREFIX_.'address`
WHERE `id_address` = '.(int)($id_address));
return isset($result['id_manufacturer']) ? $result['id_manufacturer'] : false;
}
static public function getCountryAndState($id_address)
{
if (isset(self::$_idCountries[$id_address]))