Katie Horn has submitted this change and it was merged.
Change subject: lame dependency
......................................................................
lame dependency
Change-Id: I54953a6842c8819083d01460e202ccd4567bdcdb
---
M paypal_gateway/paypal_gateway.body.php
1 file changed, 1 insertion(+), 0 deletions(-)
Approvals:
Katie Horn: Verified; Looks good to me, approved
jenkins-bot: Checked
diff --git a/paypal_gateway/paypal_gateway.body.php
b/paypal_gateway/paypal_gateway.body.php
index 607050d..58f5260 100644
--- a/paypal_gateway/paypal_gateway.body.php
+++ b/paypal_gateway/paypal_gateway.body.php
@@ -40,6 +40,7 @@
// If the currency is invalid, fallback to USD
$oldCurrency = $this->getRequest()->getText(
'currency_code' );
$approxConverted = 0;
+ require_once( __DIR__ .
'/../gateway_common/currencyRates.inc' );
$conversionRates = getCurrencyRates();
if ( array_key_exists( $oldCurrency,
$conversionRates ) ) {
$approxConverted = floor(
$this->getRequest()->getText( 'amount' ) / $conversionRates[$oldCurrency] );
--
To view, visit https://gerrit.wikimedia.org/r/56080
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I54953a6842c8819083d01460e202ccd4567bdcdb
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/DonationInterface
Gerrit-Branch: master
Gerrit-Owner: Adamw <[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