summaryrefslogtreecommitdiff
path: root/modules/comment/comment.pages.inc
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-12-25 10:17:22 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-12-25 10:17:22 +0000
commitc19b7667ae72c9ae78095003ab8325ab9bd5142b (patch)
tree8ab58bd37e17e1b253b19fcc9948735340d055d1 /modules/comment/comment.pages.inc
parentd87533cdc7890c1fc5e72cd816eb5c94d87a1e13 (diff)
downloadbrdo-c19b7667ae72c9ae78095003ab8325ab9bd5142b.tar.gz
brdo-c19b7667ae72c9ae78095003ab8325ab9bd5142b.tar.bz2
#654854 by marcingy and yched: Remove unneeded node_build() when creating a new comment.
Diffstat (limited to 'modules/comment/comment.pages.inc')
-rw-r--r--modules/comment/comment.pages.inc4
1 files changed, 0 insertions, 4 deletions
diff --git a/modules/comment/comment.pages.inc b/modules/comment/comment.pages.inc
index 345b9ceb7..f1c9ca6ae 100644
--- a/modules/comment/comment.pages.inc
+++ b/modules/comment/comment.pages.inc
@@ -72,10 +72,6 @@ function comment_reply($node, $pid = NULL) {
drupal_goto("node/$node->nid");
}
}
- // This is the case where the comment is in response to a node. Display the node.
- elseif (user_access('access content')) {
- $build['comment_node'] = node_view($node);
- }
// Should we show the reply box?
if ($node->comment != COMMENT_NODE_OPEN) {