[-] MO : Fix hook name on differents modules - #PSCFV-2784

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@16173 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
fSerny
2012-07-02 08:51:05 +00:00
parent 9c778c181f
commit 5959b96b2e
7 changed files with 14 additions and 14 deletions
+2 -2
View File
@@ -90,7 +90,7 @@ class Loyalty extends Module
Configuration::updateValue('PS_LOYALTY_VOUCHER_CATEGORY', $category_config);
/* This hook is optional */
$this->registerHook('myAccountBlock');
$this->registerHook('displayMyAccountBlock');
if (!LoyaltyStateModule::insertDefaultData())
return false;
return true;
@@ -475,7 +475,7 @@ class Loyalty extends Module
return $this->display(__FILE__, 'my-account.tpl');
}
public function hookMyAccountBlock($params)
public function hookDisplayMyAccountBlock($params)
{
return $this->hookCustomerAccount($params);
}