Skip to content

Commit

Permalink
Remove useless hook
Browse files Browse the repository at this point in the history
  • Loading branch information
PrestaEdit committed Mar 29, 2024
1 parent 9595059 commit 502efdb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 48 deletions.
17 changes: 0 additions & 17 deletions blockwishlist.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ class BlockWishList extends Module
'displayProductActions',
'displayCustomerAccount',
'displayFooter',
'displayAdminCustomers',
'displayMyAccountBlock',
];

Expand Down Expand Up @@ -265,22 +264,6 @@ public function hookDisplayCustomerAccount(array $params)
return $this->fetch('module:blockwishlist/views/templates/hook/displayCustomerAccount.tpl');
}

/**
* This hook displays a new block on the admin customer page
*
* @param array $params
*
* @return string
*/
public function hookDisplayAdminCustomers(array $params)
{
$this->smarty->assign([
'blockwishlist' => $this->displayName,
]);

return $this->fetch('module:blockwishlist/views/templates/hook/displayAdminCustomers.tpl');
}

/**
* Display additional information inside the "my account" block
*
Expand Down
31 changes: 0 additions & 31 deletions views/templates/hook/displayAdminCustomers.tpl

This file was deleted.

0 comments on commit 502efdb

Please sign in to comment.