You are here

function content_delete in Content Construction Kit (CCK) 6.3

Same name and namespace in other branches
  1. 5 content.module \content_delete()
  2. 6 content.module \content_delete()
  3. 6.2 content.module \content_delete()

Implementation of hook_nodeapi 'delete' op.

Delete node type fields.

File

./content.module, line 309
Allows administrators to associate custom fields to content types.

Code

function content_delete(&$node) {
  _content_field_invoke('delete', $node);
  _content_field_invoke_default('delete', $node);
  cache_clear_all('content:' . $node->nid . ':', content_cache_tablename(), TRUE);
}