summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2015-03-19 13:42:54 -0700
committerMark Wells <mark@freeside.biz>2015-03-19 13:42:54 -0700
commit5886bd773a3c1fe43abcde0beafb7fb5e1991388 (patch)
tree006610c59ab7b69a5e327a7d6f978d27b080b595
parent2fea4708e3e52c53e070423e53716b4cced632e1 (diff)
don't remove event history when voiding invoices, #32862, from #18677
-rw-r--r--FS/FS/cust_bill.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/cust_bill.pm b/FS/FS/cust_bill.pm
index 137985a97..033f19936 100644
--- a/FS/FS/cust_bill.pm
+++ b/FS/FS/cust_bill.pm
@@ -284,7 +284,6 @@ sub delete {
my $dbh = dbh;
foreach my $table (qw(
- cust_event
cust_credit_bill
cust_bill_pay
cust_pay_batch
@@ -292,6 +291,7 @@ sub delete {
cust_bill_batch
cust_bill_pkg
)) {
+ #cust_event # problematic
foreach my $linked ( $self->$table() ) {
my $error = $linked->delete;