From 8bb19a33c4c6ea3dfbf35a2c6fdfdbff5b9a4376 Mon Sep 17 00:00:00 2001 From: vAugagneur Date: Thu, 10 May 2012 07:57:00 +0000 Subject: [PATCH] [-] MO : fixed bug #PSCFV-2278 - Function hookActionProductUpdate() is deprecated in mailalert module git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15141 b9a71923-0436-4b27-9f14-aed3839534dd --- modules/mailalerts/mailalerts.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/modules/mailalerts/mailalerts.php b/modules/mailalerts/mailalerts.php index e035bc88a..0c0ad2177 100644 --- a/modules/mailalerts/mailalerts.php +++ b/modules/mailalerts/mailalerts.php @@ -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;