[freeside-commits] freeside/bin b-move-customers,1.2,1.3
Ivan,,,
ivan at wavetail.420.am
Wed Mar 16 00:41:04 PDT 2011
Update of /home/cvs/cvsroot/freeside/bin
In directory wavetail.420.am:/tmp/cvs-serv8225
Modified Files:
b-move-customers
Log Message:
scrub bogus start dates
Index: b-move-customers
===================================================================
RCS file: /home/cvs/cvsroot/freeside/bin/b-move-customers,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -w -d -r1.2 -r1.3
--- b-move-customers 23 Feb 2011 06:02:18 -0000 1.2
+++ b-move-customers 16 Mar 2011 07:41:02 -0000 1.3
@@ -256,6 +256,9 @@
'preinsert_callback' => sub {
my($row, $object) = @_;
+
+ $object->start_date(''); #bogus start dates on all packages
+
my $src_svcpart = $row->{'svcpart'} or die "wtf2";
my $dest_svcpart = $map{'part_svc'}->{$src_svcpart};
if ( $dest_svcpart ) {
More information about the freeside-commits
mailing list