From 2787aff7551116a223b4dea8bb144c1d03452d01 Mon Sep 17 00:00:00 2001 From: Mark Wells Date: Thu, 11 Aug 2016 16:16:18 -0700 Subject: [PATCH] skip paycardtype upgrades on 3.x, since we don't use it yet, #71291 --- FS/FS/cust_pay.pm | 4 ++-- FS/FS/cust_refund.pm | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/FS/FS/cust_pay.pm b/FS/FS/cust_pay.pm index 04aac4e7d..d45d2e397 100644 --- a/FS/FS/cust_pay.pm +++ b/FS/FS/cust_pay.pm @@ -1248,9 +1248,9 @@ sub _upgrade_data { #class method } ### - # set paycardtype + # don't set paycardtype until 4.x ### - $class->upgrade_set_cardtype; + #$class->upgrade_set_cardtype; } diff --git a/FS/FS/cust_refund.pm b/FS/FS/cust_refund.pm index e26121b77..4affb151a 100644 --- a/FS/FS/cust_refund.pm +++ b/FS/FS/cust_refund.pm @@ -522,7 +522,9 @@ sub _upgrade_data { # class method $class->_upgrade_otaker(%opts); local $ignore_empty_reasonnum = 1; - $class->upgrade_set_cardtype; + + # don't set paycardtype until 4.x + #$class->upgrade_set_cardtype; } =back -- 2.11.0