Skip to content
This repository has been archived by the owner on Sep 11, 2023. It is now read-only.

Commit

Permalink
Merge pull request #21 from andrii-tarasenko/develop
Browse files Browse the repository at this point in the history
change hook name  refs #38680
  • Loading branch information
bogdan202 authored Feb 2, 2023
2 parents 7cf4e2c + c01855e commit 772b97d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ebay.php
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ public function __construct($id_ebay_profile = null)
'updateProduct',
'deleteProduct',
'newOrder',
'header',
'displayHeader',
'updateCarrier',
'adminOrder',
'actionUpdateQuantity',
Expand Down Expand Up @@ -824,7 +824,7 @@ public function getActualizeTokens()
*
* @return bool
*/
public function hookHeader($params)
public function hookDisplayHeader($params)
{
self::addSmartyModifiers();
$this->getActualizeTokens()->execute();
Expand Down Expand Up @@ -1501,7 +1501,7 @@ public function hookBackOfficeTop($params)
if (!((version_compare(_PS_VERSION_, '1.5.1', '>=')
&& version_compare(_PS_VERSION_, '1.5.2', '<'))
&& !Shop::isFeatureActive())) {
$this->hookHeader($params);
$this->hookDisplayHeader($params);
}
$id_shop = Shop::getContextShopID();
$profiles = EbayProfile::getAllProfile();
Expand Down

0 comments on commit 772b97d

Please sign in to comment.