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

This commit is contained in:
fSerny
2012-07-02 08:51:05 +00:00
parent 4e5c1b327a
commit 67c696a1ed
7 changed files with 14 additions and 14 deletions

View File

@@ -77,7 +77,7 @@ class ReferralProgram extends Module
Configuration::updateValue('REFERRAL_PERCENTAGE', 5);
/* This hook is optional */
$this->registerHook('myAccountBlock');
$this->registerHook('displayMyAccountBlock');
return true;
}
@@ -387,7 +387,7 @@ class ReferralProgram extends Module
return $this->display(__FILE__, 'my-account.tpl');
}
public function hookMyAccountBlock($params)
public function hookDisplayMyAccountBlock($params)
{
return $this->hookCustomerAccount($params);
}