[-] 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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user