You are here

function epub_nodeapi in Epub 6

Implementation of hook_nodeapi().

File

./epub.module, line 118
Provide ePub content type and enable the creation of ePub files from book contents.

Code

function epub_nodeapi(&$node, $op, $teaser, $page) {
  switch ($op) {
    case 'delete_revision':
      db_query(db_rewrite_sql('DELETE FROM {epub} WHERE vid = %d'), $node->vid);
      break;
  }
}