function date_disable in Date 5
Same name and namespace in other branches
- 5.2 date/date.install \date_disable()
- 6.2 date/date.install \date_disable()
- 6 date/date.install \date_disable()
Implementation of hook_disable(). Empty the date caches.
File
- ./
date.install, line 45
Code
function date_disable() {
include_once drupal_get_path('module', 'date') . '/date.module';
include_once drupal_get_path('module', 'date') . '/date_views.inc';
date_clear_all(TRUE);
}