Mepps has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/384718 )
Change subject: Batch mode is true
......................................................................
Batch mode is true
Change-Id: Ic6e06c7d6585ae8d63e91d82d7d932994aafe66d
---
M sites/all/modules/orphan_slayer/OrphanSlayer.php
1 file changed, 2 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/wikimedia/fundraising/crm
refs/changes/18/384718/1
diff --git a/sites/all/modules/orphan_slayer/OrphanSlayer.php
b/sites/all/modules/orphan_slayer/OrphanSlayer.php
index 94ecfbe..687149d 100644
--- a/sites/all/modules/orphan_slayer/OrphanSlayer.php
+++ b/sites/all/modules/orphan_slayer/OrphanSlayer.php
@@ -16,6 +16,7 @@
public function rectify($orphan) {
$orphan['amount'] = $orphan['gross'];
+ $orphan['batch_mode'] = true;
$this->adapter =
DonationInterfaceFactory::createAdapter($this->gateway, $orphan);
$result = $this->adapter->rectifyOrphan();
$this->delete_orphan($orphan);
@@ -23,6 +24,7 @@
}
public function cancel($orphan) {
+ $orphan['batch_mode'] = true;
$this->adapter =
DonationInterfaceFactory::createAdapter($this->gateway, $orphan);
$this->adapter->cancel();
$this->delete_orphan($orphan);
--
To view, visit https://gerrit.wikimedia.org/r/384718
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic6e06c7d6585ae8d63e91d82d7d932994aafe66d
Gerrit-PatchSet: 1
Gerrit-Project: wikimedia/fundraising/crm
Gerrit-Branch: master
Gerrit-Owner: Mepps <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits