diff options
Diffstat (limited to 'modules/rdf/rdf.module')
-rw-r--r-- | modules/rdf/rdf.module | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/modules/rdf/rdf.module b/modules/rdf/rdf.module index 2ac831fb3..82216b993 100644 --- a/modules/rdf/rdf.module +++ b/modules/rdf/rdf.module @@ -582,12 +582,6 @@ function rdf_field_attach_view_alter(&$output, $context) { $element = &$output[$field_name]; if ($element['#field_type'] == 'taxonomy_term' && $element['#formatter'] == 'taxonomy_term_link') { foreach ($element['#items'] as $delta => $item) { - // @todo Remove this when "node_view() does not call - // field_attach_prepare_view()" bug is fixed. - // See http://drupal.org/node/493314. - if (!isset($item['taxonomy_term'])) { - $item['taxonomy_term'] = taxonomy_term_load($item['tid']); - } $term = $item['taxonomy_term']; if (!empty($term->rdf_mapping['rdftype'])) { $element[$delta]['#options']['attributes']['typeof'] = $term->rdf_mapping['rdftype']; |