You are here

function content_disable in Content Construction Kit (CCK) 6

Same name and namespace in other branches
  1. 6.3 content.install \content_disable()
  2. 6.2 content.install \content_disable()

Implementation of hook_disable().

File

./content.install, line 97

Code

function content_disable() {

  // Make sure old data is emptied out of the caches, since it
  // may no longer be valid when the module is re-enabled.
  cache_clear_all('*', 'cache_content', TRUE);
  content_clear_type_cache(TRUE);
}