summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Barth2010-09-18 00:46:21 +0000
committerAlex Barth2010-09-18 00:46:21 +0000
commit9a75960d5ff43f106d87d27d5847d3e5963c41c1 (patch)
tree7423a1ca856398be954159cb41d8f459cb3ceab0
parent94b088ff224fc1c85b277451da47fbb7110c2de6 (diff)
Remove 'has_body'.
-rw-r--r--plugins/FeedsNodeProcessor.inc12
1 files changed, 5 insertions, 7 deletions
diff --git a/plugins/FeedsNodeProcessor.inc b/plugins/FeedsNodeProcessor.inc
index 107652f..194c18a 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'),