function content_update in Content Construction Kit (CCK) 6.2
Same name and namespace in other branches
- 5 content.module \content_update()
- 6.3 content.module \content_update()
- 6 content.module \content_update()
Implementation of hook_nodeapi 'update' op.
Update node type fields.
File
- ./
content.module, line 298 - Allows administrators to associate custom fields to content types.
Code
function content_update(&$node) {
_content_field_invoke('update', $node);
_content_field_invoke_default('update', $node);
cache_clear_all('content:' . $node->nid . ':' . $node->vid, content_cache_tablename());
}