[freeside-commits] freeside/FS/FS cust_pay.pm,1.50.2.14,1.50.2.15

Ivan,,, ivan at wavetail.420.am
Tue Apr 1 17:23:06 PDT 2008


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

Modified Files:
      Tag: FREESIDE_1_7_BRANCH
	cust_pay.pm 
Log Message:
don't do (as much) useless work on upgrade

Index: cust_pay.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_pay.pm,v
retrieving revision 1.50.2.14
retrieving revision 1.50.2.15
diff -u -d -r1.50.2.14 -r1.50.2.15
--- cust_pay.pm	13 Mar 2008 09:28:46 -0000	1.50.2.14
+++ cust_pay.pm	2 Apr 2008 00:23:00 -0000	1.50.2.15
@@ -699,6 +699,7 @@
 
     my $h_cust_pay = $cust_pay->h_search('insert');
     if ( $h_cust_pay ) {
+      next if $cust_pay->otaker eq $h_cust_pay->history_user;
       $cust_pay->otaker($h_cust_pay->history_user);
     } else {
       $cust_pay->otaker('legacy');



More information about the freeside-commits mailing list