summaryrefslogtreecommitdiff
path: root/modules/comment.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/comment.module')
-rw-r--r--modules/comment.module3
1 files changed, 0 insertions, 3 deletions
diff --git a/modules/comment.module b/modules/comment.module
index 33448044f..19fb00ac4 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;