r80361 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r80360‎ | r80361 | r80362 >
Date:00:07, 15 January 2011
Author:awjrichards
Status:deferred
Tags:
Comment:
Attempting to modify how locations get handled - only inserting on payment since having problems with civicrm location update api call
Modified paths:
  • /civicrm/trunk/sites/all/modules/queue2civicrm/recurring/recurring.module (modified) (history)

Diff [purge]

Index: civicrm/trunk/sites/all/modules/queue2civicrm/recurring/recurring.module
@@ -251,10 +251,10 @@
252252 _queue2civicrm_update_contribution_tracking( $msg, $contribution );
253253
254254 // update the contact
255 - $contact = _queue2civicrm_contact_update( $msg, $contact[ 'contact_id' ] );
 255+ $contact = _queue2civicrm_contact_insert( $msg, $contact[ 'contact_id' ] );
256256
257257 // Insert the location record
258 - $location = _queue2civicrm_location_update( $msg, $contact );
 258+ $location = _queue2civicrm_location_insert( $msg, $contact );
259259
260260 // Tag contact for review
261261 $tag = _queue2civicrm_tag_insert( $contact );
@@ -334,10 +334,10 @@
335335 $contact = _queue2civicrm_contact_insert( $msg );
336336
337337 // Insert the location record
338 - $location = _queue2civicrm_location_insert( $msg, $contact );
 338+ //$location = _queue2civicrm_location_insert( $msg, $contact );
339339
340340 // Tag contact for review
341 - $tag = _queue2civicrm_tag_insert( $contact );
 341+ //$tag = _queue2civicrm_tag_insert( $contact );
342342
343343 // prepare query for inserting data to civicrm_contribution_recur
344344 $query = "INSERT INTO {civicrm.civicrm_contribution_recur} (

Status & tagging log