From a76ee6c9ed66e61211bb05bfe9dd6229918557af Mon Sep 17 00:00:00 2001 From: Gerhard Killesreiter Date: Tue, 28 Mar 2006 06:12:15 +0000 Subject: #34132, remove remnants of nodeapi('fields'), patch by myself --- modules/comment/comment.module | 3 --- 1 file changed, 3 deletions(-) (limited to 'modules/comment/comment.module') diff --git a/modules/comment/comment.module b/modules/comment/comment.module index 33448044f..19fb00ac4 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; -- cgit v1.2.3