You are here

function forum_delete in Drupal 4

Same name and namespace in other branches
  1. 5 modules/forum/forum.module \forum_delete()

Implementation of hook_delete().

File

modules/forum.module, line 424
Enable threaded discussions about general topics.

Code

function forum_delete(&$node) {
  db_query('DELETE FROM {forum} WHERE nid = %d', $node->nid);
}