From 9a75960d5ff43f106d87d27d5847d3e5963c41c1 Mon Sep 17 00:00:00 2001
From: Alex Barth <alex_b@53995.no-reply.drupal.org>
Date: Sat, 18 Sep 2010 00:46:21 +0000
Subject: [PATCH] Remove 'has_body'.

---
 plugins/FeedsNodeProcessor.inc | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/plugins/FeedsNodeProcessor.inc b/plugins/FeedsNodeProcessor.inc
index 107652fd..194c18aa 100644
--- a/plugins/FeedsNodeProcessor.inc
+++ b/plugins/FeedsNodeProcessor.inc
@@ -265,13 +265,11 @@ class FeedsNodeProcessor extends FeedsProcessor {
      );
     // Include body field only if available.
     $type = node_type_get_type($this->config['content_type']);
-    if ($type->has_body) {
-      // Using 'teaser' instead of 'body' forces entire content above the break.
-      $targets['body'] = array(
-        'name' => t('Body'),
-        'description' => t('The body of the node. The teaser will be the same as the entire body.'),
-      );
-    }
+    // Using 'teaser' instead of 'body' forces entire content above the break.
+    $targets['body'] = array(
+      'name' => t('Body'),
+      'description' => t('The body of the node. The teaser will be the same as the entire body.'),
+    );
     $targets += array(
       'nid' => array(
         'name' => t('Node ID'),
-- 
GitLab