[freeside-commits] freeside/FS/FS cust_pkg.pm,1.73.2.19,1.73.2.20

Ivan,,, ivan at wavetail.420.am
Fri Jul 18 15:32:53 PDT 2008


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

Modified Files:
      Tag: FREESIDE_1_7_BRANCH
	cust_pkg.pm 
Log Message:
random cleanup from 1.9

Index: cust_pkg.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_pkg.pm,v
retrieving revision 1.73.2.19
retrieving revision 1.73.2.20
diff -u -d -r1.73.2.19 -r1.73.2.20
--- cust_pkg.pm	1 Jul 2008 07:02:04 -0000	1.73.2.19
+++ cust_pkg.pm	18 Jul 2008 22:32:50 -0000	1.73.2.20
@@ -283,8 +283,6 @@
 cancel is normally updated by the cancel method (and also the order subroutine
 in some cases).
 
-Calls 
-
 =cut
 
 sub replace {
@@ -319,11 +317,12 @@
 
   foreach my $method ( qw(adjourn expire) ) {  # How many reasons?
     if ($options{'reason'} && $new->$method && $old->$method ne $new->$method) {
-      my $error = $new->insert_reason( 'reason' => $options{'reason'},
-                                       'date'   => $new->$method,
-                                       'action' => $method,
-                                       'reason_otaker' => $options{'reason_otaker'},
-                                     );
+      my $error = $new->insert_reason(
+        'reason'        => $options{'reason'},
+        'date'          => $new->$method,
+        'action'        => $method,
+        'reason_otaker' => $options{'reason_otaker'},
+      );
       if ( $error ) {
         dbh->rollback if $oldAutoCommit;
         return "Error inserting cust_pkg_reason: $error";



More information about the freeside-commits mailing list