[+] BO : New hooks added (helpers + order history)
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13349 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -346,6 +346,16 @@ class OrderHistoryCore extends ObjectModel
|
||||
Mail::Send((int)$order->id_lang, $result['template'], $topic, $data, $result['email'], $result['firstname'].' '.$result['lastname']);
|
||||
}
|
||||
|
||||
Hook::exec('actionOrderHistoryAddAfter', array('order_history' => $this));
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
public function add($autodate = true, $null_values = false)
|
||||
{
|
||||
if (!parent::add($autodate))
|
||||
return false;
|
||||
Hook::exec('actionOrderHistoryAddAfter', array('order_history' => $this));
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user