You are here

function themekey_ui_node_delete in ThemeKey 7.3

Same name and namespace in other branches
  1. 7 themekey_ui.module \themekey_ui_node_delete()
  2. 7.2 themekey_ui.module \themekey_ui_node_delete()

Implements hook_node_delete().

Parameters

$node:

File

./themekey_ui.module, line 385
ThemeKey UI is an extension for ThemeKey

Code

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