function noderelationships_cache_clear in Node Relationships 6
Clear cached information about relationships.
Note that we use the cache table provided by CCK itself, and CCK will clear the whole cache (including our objects) when it needs to.
We may still need to force a rebuild of the relationships structure, therefore we can use this function, or load the data with the $reset option enabled.
See also
noderelationships_get_relationships()
4 calls to noderelationships_cache_clear()
- noderelationships_content_fieldapi in ./
noderelationships.module - Implementation of hook_content_fieldapi().
- noderelationships_disable in ./
noderelationships.install - Implementation of hook_disable().
- noderelationships_node_type in ./
noderelationships.module - Implementation of hook_node_type().
- _noderelationships_menu in ./
noderelationships.system.inc - Implementation of hook_menu().
File
- ./
noderelationships.inc, line 519 - Common functions for the noderelationships module.
Code
function noderelationships_cache_clear() {
cache_clear_all('noderelationships_relationships', content_cache_tablename());
}