Skip to content

Commit

Permalink
#34132, remove remnants of nodeapi('fields'), patch by myself
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerhard Killesreiter committed Mar 28, 2006
1 parent 4779490 commit a76ee6c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions modules/comment.module
Expand Up @@ -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;
Expand Down
3 changes: 0 additions & 3 deletions modules/comment/comment.module
Expand Up @@ -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;
Expand Down

0 comments on commit a76ee6c

Please sign in to comment.