X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=inline;f=FS%2FFS%2FUpgrade.pm;h=f559d2e0a44adcfb4f2d670a689b6ea3fb404556;hb=7c1cc70e0d76ab8a26fc3b9dca8f20978c71e3d8;hp=d70c874b4768d2b45213a5e1317199fe4c0b821f;hpb=b92a75f9fc39d2ebb4572d270536216ca632f0aa;p=freeside.git diff --git a/FS/FS/Upgrade.pm b/FS/FS/Upgrade.pm index d70c874b4..f559d2e0a 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 {