You are here

function image_gallery_update_6101 in Image 6

Same name and namespace in other branches
  1. 7 contrib/image_gallery/image_gallery.install \image_gallery_update_6101()

Clear the Views cache so our new default views are picked up.

File

contrib/image_gallery/image_gallery.install, line 93

Code

function image_gallery_update_6101() {
  $ret = array();
  if (drupal_load('module', 'views')) {
    views_invalidate_cache();
  }
  return $ret;
}