function forum_insert in Drupal 4
Same name and namespace in other branches
- 5 modules/forum/forum.module \forum_insert()
Implementation of hook_insert().
File
- modules/
forum.module, line 417 - 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);
}