diff --git a/modules/comment.module b/modules/comment.module index 33448044f90d..19fb00ac4311 100644 --- a/modules/comment.module +++ b/modules/comment.module @@ -275,9 +275,6 @@ function comment_form_alter($form_id, &$form) { */ function comment_nodeapi(&$node, $op, $arg = 0) { switch ($op) { - case 'fields': - return array('comment'); - case 'load': return db_fetch_array(db_query("SELECT last_comment_timestamp, last_comment_name, comment_count FROM {node_comment_statistics} WHERE nid = %d", $node->nid)); break; diff --git a/modules/comment/comment.module b/modules/comment/comment.module index 33448044f90d..19fb00ac4311 100644 --- a/modules/comment/comment.module +++ b/modules/comment/comment.module @@ -275,9 +275,6 @@ function comment_form_alter($form_id, &$form) { */ function comment_nodeapi(&$node, $op, $arg = 0) { switch ($op) { - case 'fields': - return array('comment'); - case 'load': return db_fetch_array(db_query("SELECT last_comment_timestamp, last_comment_name, comment_count FROM {node_comment_statistics} WHERE nid = %d", $node->nid)); break;