Katie Horn has submitted this change and it was merged.
Change subject: Ok; Don't Sub Currencies...
......................................................................
Ok; Don't Sub Currencies...
When we substitute currencies; the paypal adapter which can handle
unhandled currencies gets left out in the cold! So...
Change-Id: I58ab96abd6b4a3d2118ab432acccfd9bac2a6b66
---
M special/GatewayFormChooser.php
1 file changed, 2 insertions(+), 2 deletions(-)
Approvals:
Katie Horn: Verified; Looks good to me, approved
diff --git a/special/GatewayFormChooser.php b/special/GatewayFormChooser.php
index 377c5ee..735a888 100644
--- a/special/GatewayFormChooser.php
+++ b/special/GatewayFormChooser.php
@@ -143,11 +143,11 @@
}
// Filter on currency; and if it's too generic we add
what the adapter thinks it can support
- if ( $meta['currencies'] === 'ALL' ) {
+ /*if ( $meta['currencies'] === 'ALL' ) {
$meta['currencies'] = array( '+' =>
$adapterName::getCurrencies() );
} elseif( array_key_exists( '-', $meta['currencies'] )
&& !array_key_exists( '+', $meta['currencies'] ) ) {
$meta['currencies']['+'] =
$adapterName::getCurrencies();
- }
+ }*/
if ( !is_null( $currency ) &&
!DataValidator::value_appears_in( $currency, $meta['currencies'] )
) {
--
To view, visit https://gerrit.wikimedia.org/r/73385
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I58ab96abd6b4a3d2118ab432acccfd9bac2a6b66
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/DonationInterface
Gerrit-Branch: deploy-payments_1.22
Gerrit-Owner: Mwalker <[email protected]>
Gerrit-Reviewer: Katie Horn <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits