r74987 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r74986‎ | r74987 | r74988 >
Date:00:42, 19 October 2010
Author:awjrichards
Status:deferred
Tags:
Comment:
Fixed problem with incorrect anonymous reporting; Added some more options for # of messages consumed from activemq at a time
Modified paths:
  • /civicrm/trunk/sites/all/modules/queue2civicrm/queue2civicrm.module (modified) (history)

Diff [purge]

Index: civicrm/trunk/sites/all/modules/queue2civicrm/queue2civicrm.module
@@ -104,6 +104,10 @@
105105 30 => 30,
106106 40 => 40,
107107 50 => 50,
 108+ 75 => 75,
 109+ 100 => 100,
 110+ 120 => 120,
 111+ 150 => 150,
108112 ),
109113 );
110114
@@ -245,7 +249,7 @@
246250 'first_name' => $msg['first_name'],
247251 'middle_name' => $msg['middle_name'],
248252 'last_name' => $msg['last_name'],
249 - 'do_not_trade' => (strlen($msg['anonymous']) ? 1 : 0),
 253+ 'do_not_trade' => ($msg['anonymous'] ? 1 : 0 ),
250254 'contact_source' => 'online donation'
251255 );
252256 // Honor the opt-out checkbox, if present

Status & tagging log