summaryrefslogtreecommitdiff
path: root/bin/b-move-customers
diff options
context:
space:
mode:
authorivan <ivan>2011-03-16 07:41:02 +0000
committerivan <ivan>2011-03-16 07:41:02 +0000
commitf82dc3d547816ca36165e224570edb5edd95631f (patch)
treef26530fd33dca3b70c6619be0762fd0e73bc5cb6 /bin/b-move-customers
parentc94e78b1298f3c742fc7da6c0421653dc170cf26 (diff)
scrub bogus start dates
Diffstat (limited to 'bin/b-move-customers')
-rwxr-xr-xbin/b-move-customers3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/b-move-customers b/bin/b-move-customers
index c17046b..411846f 100755
--- a/bin/b-move-customers
+++ b/bin/b-move-customers
@@ -256,6 +256,9 @@ while ( my $customerrow = $customer_sth->fetchrow_hashref ) {
'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 ) {