From ff4d4a204990aa77afc63bd07e5c6b005f509ec5 Mon Sep 17 00:00:00 2001 From: kevinverschoor <61683999+kevinverschoor@users.noreply.github.com> Date: Mon, 26 Feb 2024 11:52:56 +0100 Subject: [PATCH] Code Polish --- paynlpaymentmethods/paynlpaymentmethods.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paynlpaymentmethods/paynlpaymentmethods.php b/paynlpaymentmethods/paynlpaymentmethods.php index de23e15..b23bc71 100644 --- a/paynlpaymentmethods/paynlpaymentmethods.php +++ b/paynlpaymentmethods/paynlpaymentmethods.php @@ -104,7 +104,7 @@ public function __construct() if ($this->isRegisteredInHook('paymentReturn')) { $this->unregisterHook('paymentReturn'); } - + if ($this->isRegisteredInHook('actionProductCancel')) { $this->unregisterHook('actionProductCancel'); }