You are here

function panels_node_delete in Panels 6.2

Same name and namespace in other branches
  1. 5.2 panels_node/panels_node.module \panels_node_delete()
  2. 6.3 panels_node/panels_node.module \panels_node_delete()

Implementation of hook_delete().

File

panels_node/panels_node.module, line 266
panels_node.module

Code

function panels_node_delete(&$node) {
  db_query("DELETE FROM {panels_node} WHERE nid = %d", $node->nid);
  if (!empty($node->panels_node['did'])) {
    panels_delete_display($node->panels_node['did']);
  }
}