summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2012-08-13 22:15:25 -0700
committerIvan Kohler <ivan@freeside.biz>2012-08-13 22:15:25 -0700
commit1cd96c3f79ba5324973e78d4fa5935cb2ce9613f (patch)
treea6837028fc505a9a8e3eb6062518307810554d24
parenta55d8e076611e4bb2f78073eaee9380b60288e29 (diff)
revert: remove old tax_rate records even if .tax does not match geocode/taxclassnum/taxname/etc. should be enough(bad data from last update?), RT#18817
-rw-r--r--FS/FS/tax_rate.pm3
1 files changed, 0 insertions, 3 deletions
diff --git a/FS/FS/tax_rate.pm b/FS/FS/tax_rate.pm
index 6c65bd4c5..a5a623d94 100644
--- a/FS/FS/tax_rate.pm
+++ b/FS/FS/tax_rate.pm
@@ -826,9 +826,6 @@ sub batch_import {
}
}
- #remove even if the rate doesn't match,
- # geocode/taxclassnum/taxname/etc. should be enough
- delete $delete{$_}->{tax};
my $old = qsearchs( 'tax_rate', $delete{$_} );
unless ($old) {
$dbh->rollback if $oldAutoCommit;