function date_uninstall in Date 5
Same name and namespace in other branches
- 5.2 date/date.install \date_uninstall()
- 6.2 date/date.install \date_uninstall()
- 6 date/date.install \date_uninstall()
Implementation of hook_uninstall().
File
- ./
date.install, line 22
Code
function date_uninstall() {
$ret = array();
include_once drupal_get_path('module', 'date') . '/date.module';
include_once drupal_get_path('module', 'date') . '/date_views.inc';
// Empty the date caches.
date_clear_all(TRUE);
return $ret;
}