skip paycardtype upgrades on 3.x, since we don't use it yet, #71291
authorMark Wells <mark@freeside.biz>
Thu, 11 Aug 2016 23:16:18 +0000 (16:16 -0700)
committerMark Wells <mark@freeside.biz>
Thu, 11 Aug 2016 23:16:18 +0000 (16:16 -0700)
FS/FS/cust_pay.pm
FS/FS/cust_refund.pm

index 04aac4e..d45d2e3 100644 (file)
@@ -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;
 
 }
 
index e26121b..4affb15 100644 (file)
@@ -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