You are here

function _node_noindex_node_delete_noindex in Node Noindex 6

Same name and namespace in other branches
  1. 7 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_nodeapi in ./node_noindex.module
Implementation of hook_nodeapi().
_node_noindex_node_set_noindex in ./node_noindex.module
Sets the noindex option to true on the node.

File

./node_noindex.module, line 146

Code

function _node_noindex_node_delete_noindex($node) {
  db_query('DELETE FROM {node_noindex} WHERE nid = %d', $node->nid);
}