r79977 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r79976‎ | r79977 | r79978 >
Date:23:51, 10 January 2011
Author:awjrichards
Status:deferred
Tags:
Comment:
Added some additional debug output for contact/location adding
Modified paths:
  • /civicrm/trunk/sites/all/modules/queue2civicrm/queue2civicrm_common.inc (modified) (history)

Diff [purge]

Index: civicrm/trunk/sites/all/modules/queue2civicrm/queue2civicrm_common.inc
@@ -120,6 +120,8 @@
121121 $contact['display_name'] = trim($contact['first_name'] . ' ' . $contact['last_name']);
122122 $contact_result = &civicrm_contact_add( $contact );
123123
 124+ watchdog( 'queue2civicrm', 'Result for adding contact: ', print_r( $contact_result, true ), WATCHDOG_DEBUG );
 125+
124126 return $contact_result;
125127 }
126128
@@ -181,7 +183,7 @@
182184 'email' => $msg['email']
183185 );
184186 $location_result = &civicrm_location_add( $address );
185 -
 187+ watchdog( 'queue2civicrm', 'Result for adding location: ', print_r( $location_result, true ), WATCHDOG_DEBUG );
186188 return $location_result;
187189 }
188190

Status & tagging log