[-] MO : Fix hook name on differents modules - #PSCFV-2784
This commit is contained in:
@@ -72,7 +72,7 @@ class BlockWishList extends Module
|
||||
)
|
||||
return false;
|
||||
/* This hook is optional */
|
||||
$this->registerHook('myAccountBlock');
|
||||
$this->registerHook('displayMyAccountBlock');
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -225,7 +225,7 @@ class BlockWishList 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