You are here

function date_disable in Date 5

Same name and namespace in other branches
  1. 5.2 date/date.install \date_disable()
  2. 6.2 date/date.install \date_disable()
  3. 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);
}