You are here

function date_update_5104 in Date 6

Same name and namespace in other branches
  1. 5.2 date/date.install \date_update_5104()
  2. 5 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 200

Code

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