[*] PROJECT : New Module API (part 1)
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9790 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
+2
-2
@@ -167,7 +167,7 @@ class CartCore extends ObjectModel
|
||||
public function add($autodate = true, $nullValues = false)
|
||||
{
|
||||
$return = parent::add($autodate);
|
||||
Module::hookExec('cart');
|
||||
Hook::exec('cart');
|
||||
return $return;
|
||||
}
|
||||
|
||||
@@ -179,7 +179,7 @@ class CartCore extends ObjectModel
|
||||
unset(self::$_totalWeight[$this->id]);
|
||||
$this->_products = NULL;
|
||||
$return = parent::update();
|
||||
Module::hookExec('cart');
|
||||
Hook::exec('cart');
|
||||
return $return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user