[~] Hook::get replaced by Hook::getIdByName
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@7916 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -91,7 +91,7 @@ class TrustedShops extends Module
|
||||
break;
|
||||
}
|
||||
$return = ($return) ? (parent::install() AND $this->registerHook('orderConfirmation') AND $this->registerHook('newOrder') AND $this->registerHook('rightColumn') AND $this->registerHook('paymentTop') AND $this->registerHook('orderConfirmation')) : $return;
|
||||
$id_hook = Hook::get('payment');
|
||||
$id_hook = Hook::getIdByName('payment');
|
||||
$this->updatePosition($id_hook, 0, 1);
|
||||
return $return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user