[*] Core : clean all deprecated methods

This commit is contained in:
aFolletete
2011-04-12 18:50:26 +00:00
parent 05a58f53e6
commit fbc1882f85
20 changed files with 0 additions and 1159 deletions
-17
View File
@@ -158,23 +158,6 @@ class PackCore extends Product
return Db::getInstance()->Execute('DELETE FROM `'._DB_PREFIX_.'pack` WHERE `id_product_pack` = '.(int)($id_product));
}
/**
* @deprecated
*/
public static function addItems($id_product, $ids)
{
Tools::displayAsDeprecated();
array_pop($ids);
foreach ($ids as $id_product_item)
{
$idQty = explode('x', $id_product_item);
if (!self::addItem($id_product, $idQty[1], $idQty[0]))
return false;
}
return true;
}
/**
* Add an item to the pack
*