Commit c19b7667 authored by Angie Byron's avatar Angie Byron
Browse files

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

parent d87533cd
Loading
Loading
Loading
Loading
+0 −4
Changes for modules/comment/comment.pages.inc: 0 added lines, 4 removed lines.
Original line number Diff line number Diff line
@@ -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) {