You are here

function crm_core_contact_update_7004 in CRM Core 7

Unlocking 'contact_name' field to permit change instance settings.

File

modules/crm_core_contact/crm_core_contact.install, line 326
Install, update and uninstall functions for the CRM Core Contact module.

Code

function crm_core_contact_update_7004() {
  $field = field_info_field('contact_name');
  $field['locked'] = FALSE;
  field_update_field($field);
}