You are here

function _views_slideshow_update_reset_cache in Views Slideshow 6

Same name and namespace in other branches
  1. 5 views_slideshow.install \_views_slideshow_update_reset_cache()
  2. 6.2 views_slideshow.install \_views_slideshow_update_reset_cache()
2 calls to _views_slideshow_update_reset_cache()
views_slideshow_update_1 in ./views_slideshow.install
we had to change the names of the plugins
views_slideshow_update_2 in ./views_slideshow.install

File

./views_slideshow.install, line 16

Code

function _views_slideshow_update_reset_cache() {
  $ret = array();
  $ret[] = update_sql("DELETE FROM {cache}");
  $ret[] = update_sql("DELETE FROM {cache_views}");
  return $ret;
}