function calendar_disable in Calendar 5
Same name and namespace in other branches
- 5.2 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 20 - Install File
Code
function calendar_disable() {
include_once drupal_get_path('module', 'calendar') . '/calendar.module';
calendar_clear_all(TRUE);
}