From 45c427d4ceae52aac774702e13290144862e9ab8 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Mon, 13 Aug 2012 22:15:24 -0700 Subject: [PATCH] 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 --- FS/FS/tax_rate.pm | 3 --- 1 file changed, 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; -- 2.11.0