You are here

function forum_insert in Drupal 5

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

Implementation of hook_insert().

File

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

Code

function forum_insert($node) {
  db_query('INSERT INTO {forum} (nid, vid, tid) VALUES (%d, %d, %d)', $node->nid, $node->vid, $node->tid);
}