summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Barth2010-09-20 18:31:45 +0000
committerAlex Barth2010-09-20 18:31:45 +0000
commitb8b4b0dec95fcb13c1e358f1f9a831e2b98d91bc (patch)
tree35d05094be9abbd827e304004983c6b12ee06a69
parent1da7a8486def3b7d86c970c79451fc3ea0e52e5a (diff)
Body is a field now.
-rw-r--r--plugins/FeedsNodeProcessor.inc9
1 files changed, 0 insertions, 9 deletions
diff --git a/plugins/FeedsNodeProcessor.inc b/plugins/FeedsNodeProcessor.inc
index ffec337..6a813ae 100644
--- a/plugins/FeedsNodeProcessor.inc
+++ b/plugins/FeedsNodeProcessor.inc
@@ -246,10 +246,6 @@ class FeedsNodeProcessor extends FeedsProcessor {
if (in_array($target_element, array('url', 'guid'))) {
$target_node->feeds_node_item->$target_element = $value;
}
- elseif ($target_element == 'body') {
- $target_node->teaser = node_teaser($value);
- $target_node->body = $value;
- }
elseif (in_array($target_element, array('title', 'status', 'created', 'nid', 'uid'))) {
$target_node->$target_element = $value;
}
@@ -267,11 +263,6 @@ class FeedsNodeProcessor extends FeedsProcessor {
);
// Include body field only if available.
$type = node_type_get_type($this->config['content_type']);
- // 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'),