Adamw has uploaded a new change for review.
https://gerrit.wikimedia.org/r/56080
Change subject: lame dependency
......................................................................
lame dependency
Change-Id: I54953a6842c8819083d01460e202ccd4567bdcdb
---
M paypal_gateway/paypal_gateway.body.php
1 file changed, 1 insertion(+), 0 deletions(-)
git pull
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/DonationInterface
refs/changes/80/56080/1
diff --git a/paypal_gateway/paypal_gateway.body.php
b/paypal_gateway/paypal_gateway.body.php
index 3401cd4..0514708 100644
--- a/paypal_gateway/paypal_gateway.body.php
+++ b/paypal_gateway/paypal_gateway.body.php
@@ -58,6 +58,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: newchange
Gerrit-Change-Id: I54953a6842c8819083d01460e202ccd4567bdcdb
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/DonationInterface
Gerrit-Branch: master
Gerrit-Owner: Adamw <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits