Awight has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/294404

Change subject: Fix test mode typo
......................................................................

Fix test mode typo

Change-Id: I782ccd27a15d70c29a947a51b5392632023918c1
---
M amazon_gateway/amazon.adapter.php
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/DonationInterface 
refs/changes/04/294404/1

diff --git a/amazon_gateway/amazon.adapter.php 
b/amazon_gateway/amazon.adapter.php
index b6cac0f..eee7234 100644
--- a/amazon_gateway/amazon.adapter.php
+++ b/amazon_gateway/amazon.adapter.php
@@ -159,7 +159,7 @@
                        'secret_key' => $this->account_config['MWSSecretKey'],
                        'client_id' => $this->account_config['ClientID'],
                        'region' => $this->account_config['Region'],
-                       'sandbox' => $this->getGlobal( 'TestMode' ),
+                       'sandbox' => $this->getGlobal( 'Test' ),
                ) );
        }
 
@@ -420,7 +420,7 @@
                parent::setClientVariables( $vars );
                $vars['wgAmazonGatewayClientID'] = 
$this->account_config['ClientID'];
                $vars['wgAmazonGatewaySellerID'] = 
$this->account_config['SellerID'];
-               $vars['wgAmazonGatewaySandbox'] = $this->getGlobal( 'TestMode' 
) ? true : false;
+               $vars['wgAmazonGatewaySandbox'] = $this->getGlobal( 'Test' ) ? 
true : false;
                $vars['wgAmazonGatewayReturnURL'] = 
$this->account_config['ReturnURL'];
                $vars['wgAmazonGatewayWidgetScript'] = 
$this->account_config['WidgetScriptURL'];
                $vars['wgAmazonGatewayLoginScript'] = $this->getGlobal( 
'LoginScript' );

-- 
To view, visit https://gerrit.wikimedia.org/r/294404
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I782ccd27a15d70c29a947a51b5392632023918c1
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/DonationInterface
Gerrit-Branch: master
Gerrit-Owner: Awight <awi...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to