You are here

function disable_breadcrumbs_delete in Disable breadcrumbs 7

Remove entries from db table based on uids.

Parameters

nodes: array of node ids (nids).

2 calls to disable_breadcrumbs_delete()
disable_breadcrumbs_node_form_submit in ./disable_breadcrumbs.module
Submit handler to deal with
disable_breadcrumbs_operations in ./disable_breadcrumbs.module
Node operations callback. Called by hook_node_operations.

File

./disable_breadcrumbs.module, line 353
Disable breadcrumbs

Code

function disable_breadcrumbs_delete($nodes) {
  db_delete('disable_breadcrumbs')
    ->condition('nid', $nodes)
    ->execute();
}