function calendar_disable in Calendar 5.2
Same name and namespace in other branches
- 5 calendar.install \calendar_disable()
- 6.2 calendar.install \calendar_disable()
- 7 calendar.install \calendar_disable()
- 7.2 calendar.install \calendar_disable()
Implementation of hook_disable(). Empty the calendar caches.
File
- ./
calendar.install, line 75 - Install File
Code
function calendar_disable() {
cache_clear_all('calendar_views', 'cache_views');
cache_clear_all('calendar_fields', 'cache_views');
}