You are here

function _emvideo_update_reset_cache_views in Embedded Media Field 6.3

Same name and namespace in other branches
  1. 6 contrib/emvideo/emvideo.install \_emvideo_update_reset_cache_views()
  2. 6.2 contrib/emvideo/emvideo.install \_emvideo_update_reset_cache_views()

Clear the Views cache.

3 calls to _emvideo_update_reset_cache_views()
emvideo_update_6 in contrib/emvideo/emvideo.install
emvideo_update_6012 in contrib/emvideo/emvideo.install
Rebuild themes and views.
_emvideo_update_reset_cache in contrib/emvideo/emvideo.install
Clear the content and views caches.

File

contrib/emvideo/emvideo.install, line 514
Installation, configuration, and removal of the emvideo module.

Code

function _emvideo_update_reset_cache_views() {
  $ret = array();
  if (module_exists('views')) {
    $ret[] = update_sql("DELETE FROM {cache_views}");
  }
  return $ret;
}