You are here

function date_enable in Date 5

Same name and namespace in other branches
  1. 5.2 date/date.install \date_enable()
  2. 6.2 date/date.install \date_enable()
  3. 6 date/date.install \date_enable()

Implementation of hook_enable(). Reset the calendar caches.

File

./date.install, line 35

Code

function date_enable() {
  include_once drupal_get_path('module', 'date') . '/date.module';
  include_once drupal_get_path('module', 'date') . '/date_views.inc';
  date_clear_all();
}