Remove redundant custom field types
authorColeman Watts <coleman@civicrm.org>
Sat, 5 Sep 2020 19:22:32 +0000 (15:22 -0400)
committerColeman Watts <coleman@civicrm.org>
Sun, 6 Sep 2020 15:49:51 +0000 (11:49 -0400)
commita7bcb32d4b9eda2a5f2358c423c5c17abdbfe7b1
treecd6c5c8a8641a3cf437ae19bc8f62ba6f4e626ed
parent116c6c9ffb6f89e87442cd7b2b2997c5c486b0b0
Remove redundant custom field types

The html_type 'Select Country' and 'Select State/Province' serve no purpose. They are the same as Select, just with a different data_type.

This adds an APIv3 shim to display the old types.
CRM/Core/BAO/CustomField.php
CRM/Core/SelectValues.php
CRM/Custom/Form/Field.php
CRM/Profile/Page/MultipleRecordFieldsListing.php
CRM/Upgrade/Incremental/sql/5.31.alpha1.mysql.tpl
Civi/Api4/Service/Spec/SpecFormatter.php
api/v3/CustomField.php
tests/phpunit/CRM/Core/BAO/CustomFieldTest.php
tests/phpunit/CRM/Core/BAO/CustomValueTableTest.php
tests/phpunit/api/v3/CustomFieldTest.php