You are here

function date_install in Date 5

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

Implementation of hook_install(). Reset the date caches.

File

./date.install, line 10

Code

function date_install() {
  $ret = array();
  include_once drupal_get_path('module', 'date') . '/date.module';
  include_once drupal_get_path('module', 'date') . '/date_views.inc';
  date_clear_all();
  return $ret;
}