You are here

function forum_load in Drupal 4

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

Implementation of hook_load().

File

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

Code

function forum_load($node) {
  $forum = db_fetch_object(db_query('SELECT * FROM {forum} WHERE vid = %d', $node->vid));
  return $forum;
}