function content_enable in Content Construction Kit (CCK) 6
Same name and namespace in other branches
- 5 content.module \content_enable()
- 6.3 content.install \content_enable()
- 6.2 content.install \content_enable()
Implementation of hook_enable().
File
- ./
content.install, line 85
Code
function content_enable() {
// Make sure old data is emptied out of the caches, since it
// may no longer be valid since the module was last enabled,
// especially if not all the same field modules are enabled
// as before. Especially needed during updates.
cache_clear_all('*', 'cache_content', TRUE);
content_clear_type_cache(TRUE);
}