[-] MO : fixed bug #PSCFV-2278 - Function hookActionProductUpdate() is deprecated in mailalert module
This commit is contained in:
@@ -82,7 +82,6 @@ class MailAlerts extends Module
|
||||
!$this->registerHook('actionProductDelete') ||
|
||||
!$this->registerHook('actionProductAttributeDelete') ||
|
||||
!$this->registerHook('actionProductAttributeUpdate') ||
|
||||
!$this->registerHook('actionProductUpdate') ||
|
||||
!$this->registerHook('actionProductCoverage') ||
|
||||
!$this->registerHook('displayHeader'))
|
||||
return false;
|
||||
@@ -474,12 +473,6 @@ class MailAlerts extends Module
|
||||
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)
|
||||
{
|
||||
return $this->_customer_qty ? $this->display(__FILE__, 'my-account.tpl') : null;
|
||||
|
||||
Reference in New Issue
Block a user