function date_install_clear in Date 5.2
6 calls to date_install_clear()
- date_disable in date/
date.install - Implementation of hook_disable(). Empty the date caches.
- date_enable in date/
date.install - Implementation of hook_enable(). Reset the calendar caches.
- date_install in date/
date.install - Implementation of hook_install(). Reset the date caches.
- date_uninstall in date/
date.install - Implementation of hook_uninstall().
- date_update_5200 in date/
date.install - Version 5.2 updates.
File
- date/
date.install, line 2
Code
function date_install_clear() {
cache_clear_all('date_', 'cache', '*');
if (db_table_exists('cache_views')) {
cache_clear_all('date_browser_views', 'cache_views');
}
drupal_load('module', 'content');
content_clear_type_cache();
}