[-] 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
@@ -33,7 +33,7 @@ function module_reinstall_blockmyaccount()
{
$res &= Db::getInstance()->execute('INSERT INTO `'._DB_PREFIX_.'hook`
(`name`, `title`, `description`, `position`) VALUES
("myAccountBlock", "My account block", "Display extra informations inside the \"my account\" block", 1)');
("displayMyAccountBlock", "My account block", "Display extra informations inside the \"my account\" block", 1)');
// register left column, and header, and addmyaccountblockhook
$hooks = array('leftColumn', 'header');
foreach($hooks as $hook_name)
@@ -33,7 +33,7 @@ function module_reinstall_blocksearch()
{
$res &= Db::getInstance()->execute('INSERT INTO `'._DB_PREFIX_.'hook`
(`name`, `title`, `description`, `position`) VALUES
("myAccountBlock", "My account block", "Display extra informations inside the \"my account\" block", 1)');
("displayMyAccountBlock", "My account block", "Display extra informations inside the \"my account\" block", 1)');
// register left column, and header, and addmyaccountblockhook
$hooks = array('top', 'header');
foreach($hooks as $hook_name)