Skip to content

Commit

Permalink
feature flag not needed
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhuesken committed Jan 30, 2025
1 parent e5762de commit cfa5c99
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/Gateway/GatewayModule.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,12 +130,6 @@ public function services(): array
return $method['id'] !== Constants::SWISH;
});
}
$swishFlag = (bool) apply_filters('inpsyde.feature-flags.mollie-woocommerce.multibanco_enabled', false);
if (!$swishFlag) {
$availablePaymentMethods = array_filter($availablePaymentMethods, static function ($method) {
return $method['id'] !== 'multibanco';
});
}
return $availablePaymentMethods;
},
'gateway.isSDDGatewayEnabled' => static function (ContainerInterface $container): bool {
Expand Down

0 comments on commit cfa5c99

Please sign in to comment.