// hook updateProduct is now deprecated
This commit is contained in:
@@ -77,6 +77,7 @@ class MailAlerts extends Module
|
|||||||
!$this->registerHook('actionProductDelete') ||
|
!$this->registerHook('actionProductDelete') ||
|
||||||
!$this->registerHook('actionProductAttributeDelete') ||
|
!$this->registerHook('actionProductAttributeDelete') ||
|
||||||
!$this->registerHook('actionProductAttributeUpdate') ||
|
!$this->registerHook('actionProductAttributeUpdate') ||
|
||||||
|
!$this->registerHook('actionProductUpdate') ||
|
||||||
!$this->registerHook('displayHeader'))
|
!$this->registerHook('displayHeader'))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
@@ -443,6 +444,12 @@ class MailAlerts extends Module
|
|||||||
MailAlert::sendCustomerAlert((int)$result['id_product'], (int)$params['id_product_attribute']);
|
MailAlert::sendCustomerAlert((int)$result['id_product'], (int)$params['id_product_attribute']);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function hookActionProductUpdate($params)
|
||||||
|
{
|
||||||
|
// @deprecated 1.5.x
|
||||||
|
Tools::displayAsDeprecated();
|
||||||
|
}
|
||||||
|
|
||||||
public function hookDisplayCustomerAccount($params)
|
public function hookDisplayCustomerAccount($params)
|
||||||
{
|
{
|
||||||
return $this->_customer_qty ? $this->display(__FILE__, 'my-account.tpl') : null;
|
return $this->_customer_qty ? $this->display(__FILE__, 'my-account.tpl') : null;
|
||||||
|
|||||||
Reference in New Issue
Block a user