You are here

function calendar_update_5000 in Calendar 5

Same name and namespace in other branches
  1. 5.2 calendar.install \calendar_update_5000()

Move these caches from 'cache' to 'cache_views' so they get cleared automatically whenever views_invalidate_cache() is called.

File

./calendar.install, line 53
Install File

Code

function calendar_update_5000() {
  $ret = array();
  cache_clear_all('calendar_fields', 'cache');
  cache_clear_all('calendar_views', 'cache');
  return $ret;
}