You are here

function content_theme_node_delete in Content Theme 7

Same name and namespace in other branches
  1. 7.2 content_theme.module \content_theme_node_delete()

Implements hook_node_delete().

1 call to content_theme_node_delete()
content_theme_node_update in ./content_theme.module
Implements hook_node_update().

File

./content_theme.module, line 307
This module allows to use different themes than the site default on content creating, editing, and viewing pages.

Code

function content_theme_node_delete($node) {
  db_delete('content_theme_node')
    ->condition('nid', $node->nid)
    ->execute();
}