diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-12-21 13:47:32 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-12-21 13:47:32 +0000 |
commit | d1c017660c1b620267fdcdf0a8400fb411c2dd70 (patch) | |
tree | 8401e11dfb9b142f8507d985eb382599c5fa8099 /modules/comment/comment.pages.inc | |
parent | ef10abde20c8052ca4dd6eec9ca84b6f74d37a11 (diff) | |
download | brdo-d1c017660c1b620267fdcdf0a8400fb411c2dd70.tar.gz brdo-d1c017660c1b620267fdcdf0a8400fb411c2dd70.tar.bz2 |
- Patch #658364 by effulgentsia: made the build/view/formatter terminology more consistent.
Diffstat (limited to 'modules/comment/comment.pages.inc')
-rw-r--r-- | modules/comment/comment.pages.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/comment/comment.pages.inc b/modules/comment/comment.pages.inc index b3b36f6a3..345b9ceb7 100644 --- a/modules/comment/comment.pages.inc +++ b/modules/comment/comment.pages.inc @@ -65,7 +65,7 @@ function comment_reply($node, $pid = NULL) { $comment->node_type = 'comment_node_' . $node->type; field_attach_load('comment', array($comment->cid => $comment)); $comment->name = $comment->uid ? $comment->registered_name : $comment->name; - $build['comment_parent'] = comment_build($comment, $node); + $build['comment_parent'] = comment_view($comment, $node); } else { drupal_set_message(t('The comment you are replying to does not exist.'), 'error'); @@ -74,7 +74,7 @@ function comment_reply($node, $pid = NULL) { } // 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_build($node); + $build['comment_node'] = node_view($node); } // Should we show the reply box? |