- Patch #1067806 by starsinmypockets: _field_info_prepare_instance() calls, but does not use, field_info_field_types().
parent
b556c02492
commit
c51f55ecbc
|
@ -286,8 +286,6 @@ function _field_info_prepare_field($field) {
|
|||
* Field instance array.
|
||||
*/
|
||||
function _field_info_prepare_instance($instance, $field) {
|
||||
$field_type = field_info_field_types($field['type']);
|
||||
|
||||
// Make sure all expected instance settings are present.
|
||||
$instance['settings'] += field_info_instance_settings($field['type']);
|
||||
|
||||
|
|
Loading…
Reference in New Issue