// 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:
@@ -229,19 +229,7 @@ class ManufacturerCore extends ObjectModel
|
||||
$manufacturers[$i]['link_rewrite'] = 0;
|
||||
return $manufacturers;
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated
|
||||
*/
|
||||
static public function getManufacturersWithoutAddress()
|
||||
{
|
||||
Tools::displayAsDeprecated();
|
||||
$sql = 'SELECT m.* FROM `'._DB_PREFIX_.'manufacturer` m
|
||||
LEFT JOIN `'._DB_PREFIX_.'address` a ON (a.`id_manufacturer` = m.`id_manufacturer` AND a.`deleted` = 0)
|
||||
WHERE a.`id_manufacturer` IS NULL';
|
||||
return Db::getInstance(_PS_USE_SQL_SLAVE_)->ExecuteS($sql);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Return name from id
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user