You are here

function forum_load in Drupal 5

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

Implementation of hook_load().

File

modules/forum/forum.module, line 224
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;
}