function _node_noindex_node_delete_noindex in Node Noindex 7
Same name and namespace in other branches
- 6 node_noindex.module \_node_noindex_node_delete_noindex()
Removes the noindex option from the node.
Parameters
object $node:
2 calls to _node_noindex_node_delete_noindex()
- node_noindex_node_delete in ./
node_noindex.module - Implements hook_node_delete().
- _node_noindex_node_set_noindex in ./
node_noindex.module - Sets or deletes the noindex option on the node.
File
- ./
node_noindex.module, line 240
Code
function _node_noindex_node_delete_noindex($node) {
db_delete('node_noindex')
->condition('nid', $node->nid)
->execute();
}