You are here

function print_epub_node_delete in Printer, email and PDF versions 7.2

Implements hook_node_delete().

File

print_epub/print_epub.module, line 127
Displays Printer-friendly versions of Drupal pages.

Code

function print_epub_node_delete($node) {
  db_delete('print_epub_page_counter')
    ->condition('path', 'node/' . $node->nid)
    ->execute();
}