You are here

function themekey_ui_node_delete in ThemeKey 7

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

Implementation of hook_node_delete

Parameters

unknown_type $node:

File

./themekey_ui.module, line 354
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();
}