summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerhard Killesreiter <killes_www_drop_org@227.no-reply.drupal.org>2006-03-28 06:12:15 +0000
committerGerhard Killesreiter <killes_www_drop_org@227.no-reply.drupal.org>2006-03-28 06:12:15 +0000
commita76ee6c9ed66e61211bb05bfe9dd6229918557af (patch)
treedb5f4bb8a8019cc4d3694158a40c226c2b0ec955
parent47794901274b615e96a2db45a723a1962c65e5e8 (diff)
downloadbrdo-a76ee6c9ed66e61211bb05bfe9dd6229918557af.tar.gz
brdo-a76ee6c9ed66e61211bb05bfe9dd6229918557af.tar.bz2
#34132, remove remnants of nodeapi('fields'), patch by myself
-rw-r--r--modules/comment.module3
-rw-r--r--modules/comment/comment.module3
2 files changed, 0 insertions, 6 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;
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;