You are here

function date_enable in Date 6

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

Implementation of hook_enable(). Reset the calendar caches.

File

date/date.install, line 47

Code

function date_enable() {
  date_install_load();
  content_notify('enable', 'date');
  date_clear_all();
}