fix hook
This commit is contained in:
@@ -57,8 +57,7 @@ class Hutko extends PaymentModule
|
|||||||
public function install(): bool
|
public function install(): bool
|
||||||
{
|
{
|
||||||
$success = parent::install()
|
$success = parent::install()
|
||||||
&& $this->registerHook('paymentOptions')
|
&& $this->registerHook('paymentOptions');
|
||||||
&& $this->registerHook('actionAdminControllerSetMedia');
|
|
||||||
|
|
||||||
// If the initial mandatory hooks failed, stop here.
|
// If the initial mandatory hooks failed, stop here.
|
||||||
if (!$success) {
|
if (!$success) {
|
||||||
|
|||||||
Reference in New Issue
Block a user