r80528 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r80527‎ | r80528 | r80529 >
Date:22:53, 18 January 2011
Author:awjrichards
Status:deferred
Tags:
Comment:
Changed msg['end_date'] to just use msg['cancel_date'] in subscr_cancel processing
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
@@ -390,7 +390,7 @@
391391 $result = db_query(
392392 $query,
393393 date( 'Y-m-d H:i:s', $msg[ 'cancel_date' ] ),
394 - date( 'Y-m-d H:i:s', $msg[ 'end_date' ] ),
 394+ date( 'Y-m-d H:i:s', $msg[ 'cancel_date' ] ),
395395 $msg[ 'subscr_id' ] );
396396 if ( !$result ) {
397397 watchdog( 'recurring', 'There was a problem updating the subscription for cancelation for subscriber id: %subscr_id', array( '%subscr_id' => print_r( $msg[ 'subscr_id' ], true )), WATCHDOG_NOTICE );

Status & tagging log