r75173 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r75172‎ | r75173 | r75174 >
Date:21:47, 21 October 2010
Author:awjrichards
Status:deferred
Tags:
Comment:
Added some postive-case logging for sending trxns to OWA
Modified paths:
  • /civicrm/trunk/sites/all/modules/wmf_owa/wmf_owa.module (modified) (history)

Diff [purge]

Index: civicrm/trunk/sites/all/modules/wmf_owa/wmf_owa.module
@@ -122,6 +122,9 @@
123123 if ( !curl_exec( $ch )) {
124124 // log curl error curl_error( $ch );
125125 watchdog( 'wmf_owa', 'Error posting to OWA with query params: ' . print_r( $query_params, true ), WATCHDOG_ERROR );
 126+ } else {
 127+ watchdog( 'wmf_owa', 'Posted to OWA for contribution_id: ' . $query_params[ 'owa_ct_order_id' ] ); // notice
 128+ watchdog( 'wmf_owa', 'Posted to OWA with query params: ' . print_r( $query_params, true ), WATCHDOG_DEBUG ); //debug
126129 }
127130
128131 curl_close( $ch );

Status & tagging log