// Rename correctly all hooks
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12006 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
+2
-2
@@ -170,7 +170,7 @@ class CartCore extends ObjectModel
|
||||
$this->id_lang = Configuration::get('PS_LANG_DEFAULT');
|
||||
|
||||
$return = parent::add($autodate);
|
||||
Hook::exec('cart');
|
||||
Hook::exec('actionCartSave');
|
||||
|
||||
return $return;
|
||||
}
|
||||
@@ -185,7 +185,7 @@ class CartCore extends ObjectModel
|
||||
|
||||
$this->_products = null;
|
||||
$return = parent::update();
|
||||
Hook::exec('cart');
|
||||
Hook::exec('actionCartSave');
|
||||
|
||||
return $return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user