[*] Core : clean all deprecated methods
This commit is contained in:
@@ -222,18 +222,6 @@ class ManufacturerCore extends ObjectModel
|
||||
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