function oa_core_clear_cache in Open Atrium Core 7.2
Helper function to clear the static and db cache
Parameters
$cid: the cache id (see oa_core_get_cache_id):
$value : the value to save in cache:
1 call to oa_core_clear_cache()
- oa_core_oa_clear_cache in includes/
oa_core.cache.inc - Implements hook_oa_clear_cache().
File
- includes/
oa_core.cache.inc, line 44 - Code for OpenAtrium caching helpers
Code
function oa_core_clear_cache($name, $cid) {
cache_clear_all($cid, 'cache', TRUE);
drupal_static_reset($name);
}