You are here

function date_disable in Date 6

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

Implementation of hook_disable(). Empty the date caches.

File

date/date.install, line 57

Code

function date_disable() {
  date_install_load();
  content_notify('disable', 'date');
  date_clear_all(TRUE);
}