You are here

function calendar_disable in Calendar 6.2

Same name and namespace in other branches
  1. 5.2 calendar.install \calendar_disable()
  2. 5 calendar.install \calendar_disable()
  3. 7 calendar.install \calendar_disable()
  4. 7.2 calendar.install \calendar_disable()

Implementation of hook_disable(). Empty the calendar caches.

File

./calendar.install, line 20

Code

function calendar_disable() {
  db_query("DELETE FROM {cache_views}");
}