[freeside-commits] freeside/FS/FS pay_batch.pm,1.23,1.24

Mark Wells mark at wavetail.420.am
Mon Aug 23 19:17:24 PDT 2010


Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv11226/FS/FS

Modified Files:
	pay_batch.pm 
Log Message:
premature commit

Index: pay_batch.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/pay_batch.pm,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -w -d -r1.23 -r1.24
--- pay_batch.pm	24 Aug 2010 01:59:31 -0000	1.23
+++ pay_batch.pm	24 Aug 2010 02:17:22 -0000	1.24
@@ -356,10 +356,6 @@
       return "error updating status of paybatchnum $hash{'paybatchnum'}: $error\n";
     }
 
-    # purge CVV when the batch is processed
-    $new_cust_pay_batch->cust_main->remove_cvv
-      if ( $payby eq 'CARD' or $payby eq 'DCRD' );
-
     if ( $new_cust_pay_batch->status =~ /Approved/i ) {
 
       my $cust_pay = new FS::cust_pay ( {
@@ -406,11 +402,11 @@
           return $error;
 	}
 
-      } # foreach $cust_event
+      }
 
-    } # if(status eq 'Approved')
+    }
 
-  } # foreach(@all_values)
+  }
   
   $dbh->commit or die $dbh->errstr if $oldAutoCommit;
   '';



More information about the freeside-commits mailing list