You are here

function supersized_delete_node_settings in Supersized 7

Same name and namespace in other branches
  1. 8 supersized.module \supersized_delete_node_settings()

Delete supersized settings by node.

1 call to supersized_delete_node_settings()
supersized_node_settings_delete_confirm_submit in ./supersized.module
Supersized setting delete confirm form handler.

File

./supersized.module, line 875
Supersized module file.

Code

function supersized_delete_node_settings($node) {
  $nid = is_object($node) ? $node->nid : $node;
  $result = db_delete('supersized')
    ->condition('nid', $nid)
    ->execute();
}