Ssmith has submitted this change and it was merged.
Change subject: source metadata for recurring GlobalCollect messages
......................................................................
source metadata for recurring GlobalCollect messages
Change-Id: I35953faefd1aa3808553f0f664f131cac5aad9d3
---
M sites/all/modules/recurring_globalcollect/recurring_globalcollect.module
1 file changed, 8 insertions(+), 0 deletions(-)
Approvals:
Ssmith: Verified; Looks good to me, approved
diff --git
a/sites/all/modules/recurring_globalcollect/recurring_globalcollect.module
b/sites/all/modules/recurring_globalcollect/recurring_globalcollect.module
index 41d06db..564a73d 100644
--- a/sites/all/modules/recurring_globalcollect/recurring_globalcollect.module
+++ b/sites/all/modules/recurring_globalcollect/recurring_globalcollect.module
@@ -400,6 +400,14 @@
$msg['contribution_tags'] = isset( $options['contribution_tags'] ) ?
$options['contribution_tags'] : array();
$msg = wmf_civicrm_normalize_contribution_amounts($msg);
+
+ $msg['source_type'] = "direct";
+ $msg['source_name'] = "Recurring GlobalCollect";
+ $msg['source_host'] = gethostname();
+ $msg['source_version'] = wmf_common_get_my_revision();
+ $msg['source_run_id'] = getmypid();
+ $msg['source_enqueued_time'] = time();
+
/*
* This array needs to be rekeyed to be consistent with:
*
--
To view, visit https://gerrit.wikimedia.org/r/118770
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I35953faefd1aa3808553f0f664f131cac5aad9d3
Gerrit-PatchSet: 1
Gerrit-Project: wikimedia/fundraising/crm
Gerrit-Branch: master
Gerrit-Owner: Adamw <[email protected]>
Gerrit-Reviewer: Katie Horn <[email protected]>
Gerrit-Reviewer: Mwalker <[email protected]>
Gerrit-Reviewer: Ssmith <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits