PrestaShop/PrestaShop — pull request #1780 by kermes (2014-05-13 10:05:29+00:00)
Title: PSCFV-12072 (slow product delete)

make only one update instead of one per product when deleting a product

there is also a wrong call to cleanPositions in delete method (it's parameter should be the category, not id_product and cleanPositions is called inside deleteCategories becaouse the parameter is set to true, so it was being called twice)