summaryrefslogtreecommitdiff
path: root/FS/FS/Upgrade.pm
diff options
context:
space:
mode:
authorJonathan Prykop <jonathan@freeside.biz>2015-09-22 01:08:04 -0500
committerJonathan Prykop <jonathan@freeside.biz>2015-09-22 01:08:04 -0500
commit15a4e1674694b76ecc2af87de479aabe370ac03d (patch)
treecc2913659983d244e72b16e05d78a6b6e5d9a7c7 /FS/FS/Upgrade.pm
parent0c759132a02d9403f391c6a997cbe754a4dba407 (diff)
RT#37908: Convert existing email-sending code to use common interface [removals and switches to FS::Log]
Diffstat (limited to 'FS/FS/Upgrade.pm')
-rw-r--r--FS/FS/Upgrade.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/FS/FS/Upgrade.pm b/FS/FS/Upgrade.pm
index ffc04ba..263230b 100644
--- a/FS/FS/Upgrade.pm
+++ b/FS/FS/Upgrade.pm
@@ -154,6 +154,12 @@ If you need to continue using the old Form 477 report, turn on the
$conf->set('previous_balance-exclude_from_total', '');
}
+ # switch from specifying an email address to boolean check
+ if ( $conf->exists('batch-errors_to') ) {
+ $conf->touch('batch-errors_not_fatal');
+ $conf->delete('batch-errors_to');
+ }
+
enable_banned_pay_pad() unless length($conf->config('banned_pay-pad'));
}