X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2FUpgrade.pm;h=bf3e2ad38f7ec0bdca3362a874b97214bc36b7af;hb=03ab761a53bffa14d09f23fb8b9702806a1c6b79;hp=a7fe99f903f092b842d667f497c6f775d3b28dcc;hpb=e69b549276439ab52dc6eadcbeaf3b5409926edb;p=freeside.git diff --git a/FS/FS/Upgrade.pm b/FS/FS/Upgrade.pm index a7fe99f90..bf3e2ad38 100644 --- a/FS/FS/Upgrade.pm +++ b/FS/FS/Upgrade.pm @@ -91,6 +91,11 @@ sub upgrade_config { && length($conf->config('usps_webtools-userid')) > 0 && ! $conf->exists('address_standardize_method'); + # this option has been renamed/expanded + if ( $conf->exists('cust_main-enable_spouse_birthdate') ) { + $conf->touch('cust_main-enable_spouse'); + $conf->delete('cust_main-enable_spouse_birthdate'); + } } sub upgrade_overlimit_groups {