Adamw has submitted this change and it was merged.

Change subject: Adding contact information for recurring subscriptions in paypal
......................................................................


Adding contact information for recurring subscriptions in paypal

Change-Id: Ica5053b2f49a59460373b47ee635cf3f62db7d3c
---
M sites/all/modules/queue2civicrm/recurring/recurring.module
1 file changed, 8 insertions(+), 8 deletions(-)

Approvals:
  Adamw: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/sites/all/modules/queue2civicrm/recurring/recurring.module 
b/sites/all/modules/queue2civicrm/recurring/recurring.module
index 94264f7..2f22409 100644
--- a/sites/all/modules/queue2civicrm/recurring/recurring.module
+++ b/sites/all/modules/queue2civicrm/recurring/recurring.module
@@ -282,10 +282,10 @@
     $contact = wmf_civicrm_message_contact_update( $msg, $contact[ 'id' ] );
   
     // Insert the location record
-    $location = wmf_civicrm_message_location_insert( $msg, $contact );
-  
-    // Tag contact for review
-    $tag = wmf_civicrm_tag_contact_for_review( $contact );
+    wmf_civicrm_message_location_insert( $msg, $contact );
+
+       // Tag contact for review
+       wmf_civicrm_tag_contact_for_review( $contact );
   }
 
   // update subscription record with next payment date
@@ -355,12 +355,12 @@
   
   // create contact record
   $contact = wmf_civicrm_message_contact_insert( $msg );
-  
+
   // Insert the location record
-  //$location = wmf_civicrm_message_location_insert( $msg, $contact );
-  
+  wmf_civicrm_message_location_insert( $msg, $contact );
+
   // Tag contact for review
-  //$tag = wmf_civicrm_tag_contact_for_review( $contact );
+  wmf_civicrm_tag_contact_for_review( $contact );
   
   $dbs = wmf_civicrm_get_dbs();
   $dbs->push( 'civicrm' );

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ica5053b2f49a59460373b47ee635cf3f62db7d3c
Gerrit-PatchSet: 3
Gerrit-Project: wikimedia/fundraising/crm
Gerrit-Branch: master
Gerrit-Owner: Mwalker <[email protected]>
Gerrit-Reviewer: Adamw <[email protected]>
Gerrit-Reviewer: Katie Horn <[email protected]>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to