[-] CORE : fixed bug #PSCFV-4634 - Object::cleanPosition() is no longer call in controller but in Object::delete();
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17708 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
+3
-1
@@ -668,7 +668,9 @@ class ProductCore extends ObjectModel
|
||||
// If there are still entries in product_shop, don't remove completly the product
|
||||
if ($this->hasMultishopEntries())
|
||||
return true;
|
||||
|
||||
|
||||
Product::cleanPositions($this->id);
|
||||
|
||||
Hook::exec('actionProductDelete', array('product' => $this));
|
||||
if (!$result ||
|
||||
!GroupReduction::deleteProductReduction($this->id) ||
|
||||
|
||||
Reference in New Issue
Block a user