You are here

function date_update_5104 in Date 5.2

Same name and namespace in other branches
  1. 5 date.install \date_update_5104()
  2. 6 date/date.install \date_update_5104()

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

File

date/date.install, line 323

Code

function date_update_5104() {
  $ret = array();
  cache_clear_all('date_browser_views', 'cache');
  return $ret;
}