Commit c19b7667 authored by webchick's avatar webchick
Browse files

#654854 by marcingy and yched: Remove unneeded node_build() when creating a new comment.

parent d87533cd
......@@ -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) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment