function oa_core_update_7222 in Open Atrium Core 7.2
Rebuild registry to handle modules that have moved
File
- ./
oa_core.install, line 220 - Provides update and install hooks to oa_core.
Code
function oa_core_update_7222() {
// rebuild the registry for other module moves
cache_clear_all('ctools_plugin_type_info', 'cache');
cache_clear_all('lookup_cache', 'cache_bootstrap');
cache_clear_all('variables', 'cache_bootstrap');
cache_clear_all('module_implements', 'cache_bootstrap');
drupal_static_reset('ctools_plugin_type_info_loaded');
drupal_static_reset('ctools_plugin_type_info');
registry_rebuild();
}