diff options
author | Mark Wells <mark@freeside.biz> | 2014-03-14 16:59:38 -0700 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2014-03-14 16:59:38 -0700 |
commit | 7bfd0175b05d52b648e283fca4343aef79e851d7 (patch) | |
tree | 0e936d2b7ffec2d39c98fa0a416c557c89d6f883 /FS/FS/Upgrade.pm | |
parent | 8e3646075dfae1246f287ba3384eb34a83c67b08 (diff) |
add spouse name to customer records, #24919
Diffstat (limited to 'FS/FS/Upgrade.pm')
-rw-r--r-- | FS/FS/Upgrade.pm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/FS/FS/Upgrade.pm b/FS/FS/Upgrade.pm index a7fe99f..bf3e2ad 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 { |