function calendar_enable in Calendar 5
Same name and namespace in other branches
- 5.2 calendar.install \calendar_enable()
- 6.2 calendar.install \calendar_enable()
- 7 calendar.install \calendar_enable()
- 7.2 calendar.install \calendar_enable()
Implementation of hook_enable(). Reset the calendar caches.
File
- ./
calendar.install, line 11 - Install File
Code
function calendar_enable() {
include_once drupal_get_path('module', 'calendar') . '/calendar.module';
calendar_clear_all();
}