Ejegg has uploaded a new change for review.

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

Change subject: Fix addData calls
......................................................................

Fix addData calls

Change-Id: I97d503dbb979dcfe083989512326170e73a167d0
---
M amazon_gateway/amazon_gateway.body.php
M paypal_gateway/paypal_gateway.body.php
2 files changed, 2 insertions(+), 2 deletions(-)


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

diff --git a/amazon_gateway/amazon_gateway.body.php 
b/amazon_gateway/amazon_gateway.body.php
index a20a901..7792149 100644
--- a/amazon_gateway/amazon_gateway.body.php
+++ b/amazon_gateway/amazon_gateway.body.php
@@ -44,7 +44,7 @@
                                        ||  $this->getRequest()->getText( 
'recurring', 0 )
                                ) {
                                        // FIXME: do this in the form param 
harvesting step
-                                       $this->adapter->addData( array(
+                                       $this->adapter->addRequestData( array(
                                                'recurring' => 1,
                                        ) );
                                }
diff --git a/paypal_gateway/paypal_gateway.body.php 
b/paypal_gateway/paypal_gateway.body.php
index 8ae2b63..5354c57 100644
--- a/paypal_gateway/paypal_gateway.body.php
+++ b/paypal_gateway/paypal_gateway.body.php
@@ -34,7 +34,7 @@
 
                if ( $this->getRequest()->getText( 'ffname', 'default' ) === 
'paypal-recurring' ) {
                        // FIXME: do this in the form param harvesting step
-                       $this->adapter->addData( array(
+                       $this->adapter->addRequestData( array(
                                'recurring' => 1,
                        ) );
                }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I97d503dbb979dcfe083989512326170e73a167d0
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/DonationInterface
Gerrit-Branch: master
Gerrit-Owner: Ejegg <eeggles...@wikimedia.org>

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

Reply via email to