Commit e3ddc834 authored by KarenS's avatar KarenS
Browse files

Issue #1157234, by solotandem and KarenS, additional fix that got left out of...

Issue #1157234, by solotandem and KarenS, additional fix that got left out of earlier commit, remove unneeded clause testing for values that were removed earlier in the process.
parent df844aae
......@@ -241,9 +241,6 @@ function _content_migrate_batch_process_create_fields($field_name, &$context) {
}
foreach ($instance_value['display'] as $view_mode => $settings) {
if ($view_mode == 'label' || $view_mode == 'parent' || $view_mode == 'weight') {
continue;
}
if (!array_key_exists( $settings['type'], $allowed_formatters)) {
drupal_set_message(t('The @formatter formatter used in the @view_mode view mode is not available for the @field field, setting to default formatter.', array('@formatter' => $settings['type'], '@view_mode' => $view_mode, '@field' => $field_name)), 'warning');
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment