// Refactoring of Hook class
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11998 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -474,7 +474,10 @@ class AdminCarriersControllerCore extends AdminController
|
||||
if (Validate::isLoadedObject($object_new))
|
||||
{
|
||||
$this->afterDelete($object_new, $object->id);
|
||||
Hook::updateCarrier((int)$object->id, $object_new);
|
||||
Hook::exec('actionCarrierUpdate', array(
|
||||
'id_carrier' => (int)$object->id,
|
||||
'carrier' => $object_new,
|
||||
));
|
||||
}
|
||||
$this->changeGroups($object_new->id);
|
||||
if (!$result)
|
||||
|
||||
Reference in New Issue
Block a user