From 2893abcc62e5e5bc4ab0794e3267c5fef7619d10 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 7 Feb 2010 09:11:28 +0000 Subject: - Patch #652246 by effulgentsia, scor: optimize theme('field') and use it for comment body. --- modules/rdf/rdf.module | 7 ------- 1 file changed, 7 deletions(-) (limited to 'modules/rdf') diff --git a/modules/rdf/rdf.module b/modules/rdf/rdf.module index 36d5b5b35..00a99b0d4 100644 --- a/modules/rdf/rdf.module +++ b/modules/rdf/rdf.module @@ -570,13 +570,6 @@ function rdf_preprocess_comment(&$variables) { $variables['title_attributes_array']['property'] = $comment->rdf_mapping['title']['predicates']; $variables['title_attributes_array']['datatype'] = ''; } - if (!empty($comment->rdf_mapping['body'])) { - // We need a special case here since the comment body is not a field. Note - // that for that reason, fields attached to comment will be ignored by RDFa - // parsers since we set the property attribute here. - // @todo Use fields instead, see http://drupal.org/node/538164 - $variables['content_attributes_array']['property'] = $comment->rdf_mapping['body']['predicates']; - } // Annotates the parent relationship between the current comment and the node // it belongs to. If available, the parent comment is also annotated. -- cgit v1.2.3