Skip to content

Commit

Permalink
Remove cancelOrderOnExpiryDate that runs on init
Browse files Browse the repository at this point in the history
  • Loading branch information
inpsyde-maticluznar committed Nov 22, 2023
1 parent cb17a19 commit 943125b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/Payment/PaymentModule.php
Original file line number Diff line number Diff line change
Expand Up @@ -479,12 +479,6 @@ public function cancelOrderAtMollie($order_id)
*/
public function handleExpiryDateCancelation($paymentMethods)
{
add_action(
'init',
[$this, 'cancelOrderOnExpiryDate'],
11,
2
);
if (!$this->IsExpiryDateEnabled($paymentMethods)) {
as_unschedule_action('mollie_woocommerce_cancel_unpaid_orders');
return;
Expand Down

0 comments on commit 943125b

Please sign in to comment.