summaryrefslogtreecommitdiff
path: root/FS/FS/Upgrade.pm
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2015-02-24 20:53:53 -0800
committerIvan Kohler <ivan@freeside.biz>2015-02-24 20:53:53 -0800
commitc901bfbd9114865ce0c6fd76c6378e534c3616d5 (patch)
tree7245d73bde51aaf380f6b3a27ec7909b4e54f2f0 /FS/FS/Upgrade.pm
parent59fe7dfd7fa6d31c30f3458af05510041ba529e0 (diff)
banned card hashing rewrite, RT#32290, RT#23741
Diffstat (limited to 'FS/FS/Upgrade.pm')
-rw-r--r--FS/FS/Upgrade.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/FS/FS/Upgrade.pm b/FS/FS/Upgrade.pm
index 35a1e19..6333a83 100644
--- a/FS/FS/Upgrade.pm
+++ b/FS/FS/Upgrade.pm
@@ -10,6 +10,7 @@ use FS::Conf;
use FS::Record qw(qsearchs qsearch str2time_sql);
use FS::queue;
use FS::upgrade_journal;
+use FS::Setup qw( enable_banned_pay_pad );
use FS::svc_domain;
$FS::svc_domain::whois_hack = 1;
@@ -146,6 +147,8 @@ If you need to continue using the old Form 477 report, turn on the
$conf->delete('tax-cust_exempt-groups-require_individual_nums');
}
+ enable_banned_pay_pad() unless length($conf->config('banned_pay-pad'));
+
}
sub upgrade_overlimit_groups {