summaryrefslogtreecommitdiff
path: root/modules/node
diff options
context:
space:
mode:
authorDavid Rothstein <drothstein@gmail.com>2013-03-30 15:30:02 -0400
committerDavid Rothstein <drothstein@gmail.com>2013-03-30 15:30:02 -0400
commitd0bc57b9e7abafd3507214ede6b4e82357f5b0a1 (patch)
tree2787e233db88d8abe3a3fd6d469511ee03c39136 /modules/node
parent815faefa64eaa7d376dcaba42bc52c40fdd9a12a (diff)
downloadbrdo-d0bc57b9e7abafd3507214ede6b4e82357f5b0a1.tar.gz
brdo-d0bc57b9e7abafd3507214ede6b4e82357f5b0a1.tar.bz2
Issue #1886876 by IRuslan, swentel: Fixed Useless variable assignment in node_feed().
Diffstat (limited to 'modules/node')
-rw-r--r--modules/node/node.module1
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/node/node.module b/modules/node/node.module
index 533365b30..3c65b624d 100644
--- a/modules/node/node.module
+++ b/modules/node/node.module
@@ -2599,7 +2599,6 @@ function node_feed($nids = FALSE, $channel = array()) {
$item_length = variable_get('feed_item_length', 'fulltext');
$namespaces = array('xmlns:dc' => 'http://purl.org/dc/elements/1.1/');
- $teaser = ($item_length == 'teaser');
// Load all nodes to be rendered.
$nodes = node_load_multiple($nids);