You are here

function book_delete in Drupal 4

Implementation of hook_delete().

File

modules/book.module, line 201
Allows users to collaboratively author a book.

Code

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