X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2FUpgrade.pm;h=9c0a23036d6898aa3a99183051dc9bcd1d86fbb1;hb=6f2add8c2496952f0953ae066cfde3570610c98e;hp=6ecac88f1906ea78e91ae9a178d42492c1dc9c80;hpb=21385930c7ca62c993c0f55993a286d4edfa34c1;p=freeside.git diff --git a/FS/FS/Upgrade.pm b/FS/FS/Upgrade.pm index 6ecac88f1..9c0a23036 100644 --- a/FS/FS/Upgrade.pm +++ b/FS/FS/Upgrade.pm @@ -47,6 +47,10 @@ sub upgrade_config { my $conf = new FS::Conf; + # to simplify tokenization upgrades + die "Conf selfservice-payment_gateway no longer supported" + if conf->config('selfservice-payment_gateway'); + $conf->touch('payment_receipt') if $conf->exists('payment_receipt_email') || $conf->config('payment_receipt_msgnum'); @@ -361,6 +365,9 @@ sub upgrade_data { #payby actions to new ones 'part_event' => [], + #fix whitespace - before cust_main + 'cust_location' => [], + #cust_main (remove paycvv from history, locations, cust_payby, etc) 'cust_main' => [], @@ -383,11 +390,16 @@ sub upgrade_data { # reason / void_reason migration to reasonnum / void_reasonnum 'cust_credit_void' => [], 'cust_bill_void' => [], + # also fix some tax allocation records 'cust_bill_pkg_void' => [], #duplicate history records 'h_cust_svc' => [], + # need before transaction tables, + # blocks tokenization upgrade if deprecated features still in use + 'agent_payment_gateway' => [], + #populate cust_pay.otaker 'cust_pay' => [], @@ -490,9 +502,6 @@ sub upgrade_data { #mark certain taxes as system-maintained, # and fix whitespace 'cust_main_county' => [], - - #fix whitespace - 'cust_location' => [], ; \%hash;