[-] PROJECT : Deleting duplicate hook - #PSCFV-163
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15231 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
+2
-2
@@ -1278,10 +1278,10 @@ class ProductCore extends ObjectModel
|
|||||||
if (!empty($id_images))
|
if (!empty($id_images))
|
||||||
$combination->setImages($id_images);
|
$combination->setImages($id_images);
|
||||||
|
|
||||||
Hook::exec('actionProductAttributeUpdate', array('id_product_attribute' => $id_product_attribute));
|
|
||||||
|
|
||||||
Product::updateDefaultAttribute($this->id);
|
Product::updateDefaultAttribute($this->id);
|
||||||
|
|
||||||
|
Hook::exec('actionProductAttributeUpdate', array('id_product_attribute' => $id_product_attribute));
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -613,8 +613,6 @@ class AdminProductsControllerCore extends AdminController
|
|||||||
$this->isProductFieldUpdated('attribute_minimal_quantity') ? Tools::getValue('attribute_minimal_quantity') : null,
|
$this->isProductFieldUpdated('attribute_minimal_quantity') ? Tools::getValue('attribute_minimal_quantity') : null,
|
||||||
$this->isProductFieldUpdated('available_date_attribute') ? Tools::getValue('available_date_attribute') : null,
|
$this->isProductFieldUpdated('available_date_attribute') ? Tools::getValue('available_date_attribute') : null,
|
||||||
false);
|
false);
|
||||||
|
|
||||||
Hook::exec('actionProductAttributeUpdate', array('id_product_attribute' => (int)$id_product_attribute));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user