projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
793766b
)
fix upgrade: clear bad cust_refund.source_paynum before encrypting, RT#81508
author
Ivan Kohler
<ivan@freeside.biz>
Wed, 24 Oct 2018 00:30:37 +0000
(17:30 -0700)
committer
Ivan Kohler
<ivan@freeside.biz>
Wed, 24 Oct 2018 00:30:37 +0000
(17:30 -0700)
FS/FS/Upgrade.pm
patch
|
blob
|
history
diff --git
a/FS/FS/Upgrade.pm
b/FS/FS/Upgrade.pm
index
bbd1ee1
..
e901a7f
100644
(file)
--- a/
FS/FS/Upgrade.pm
+++ b/
FS/FS/Upgrade.pm
@@
-332,11
+332,14
@@
sub upgrade_data {
tie my %hash, 'Tie::IxHash',
tie my %hash, 'Tie::IxHash',
+ #remap log levels
+ 'log' => [],
+
#fix whitespace - before cust_main
'cust_location' => [],
#fix whitespace - before cust_main
'cust_location' => [],
- #rem
ap log levels
- '
log
' => [],
+ #rem
ove bad source_paynum before cust_main
+ '
cust_refund
' => [],
#cust_main (tokenizes cards, remove paycvv from history, locations, cust_payby, etc)
# (handles payinfo encryption/tokenization across all relevant tables)
#cust_main (tokenizes cards, remove paycvv from history, locations, cust_payby, etc)
# (handles payinfo encryption/tokenization across all relevant tables)
@@
-401,7
+404,7
@@
sub upgrade_data {
'cust_pkg' => [],
#'cust_pkg_reason' => [],
'cust_pkg_discount' => [],
'cust_pkg' => [],
#'cust_pkg_reason' => [],
'cust_pkg_discount' => [],
- 'cust_refund' => [],
+
#
'cust_refund' => [],
'banned_pay' => [],
#default namespace
'banned_pay' => [],
#default namespace