summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2011-10-28 01:56:56 +0000
committerivan <ivan>2011-10-28 01:56:56 +0000
commitca4c331f1202cb5f31cf57bce66acc606a9a7d6c (patch)
tree39060a673956d17e728d5f093a419ef3ed93509f
parent5d1a52f6d855d1bd2dbb414cefef06f1da7e94b0 (diff)
fix errors fixing inadvertantly-encrypted payinfo, RT#8815
-rw-r--r--FS/FS/Upgrade.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/FS/FS/Upgrade.pm b/FS/FS/Upgrade.pm
index 46c98f5ab..eac8333f1 100644
--- a/FS/FS/Upgrade.pm
+++ b/FS/FS/Upgrade.pm
@@ -129,6 +129,11 @@ sub upgrade {
}
+ local($FS::cust_main::ignore_expired_card) = 1;
+ local($FS::cust_main::ignore_illegal_zip) = 1;
+ local($FS::cust_main::ignore_banned_card) = 1;
+ local($FS::cust_main::skip_fuzzyfiles) = 1;
+
# decrypt inadvertantly-encrypted payinfo where payby != CARD,DCRD,CHEK,DCHK
# kind of a weird spot for this, but it's better than duplicating
# all this code in each class...