function _emthumb_update_reset_cache_views in Embedded Media Field 6
Same name and namespace in other branches
- 6.3 contrib/emthumb/emthumb.install \_emthumb_update_reset_cache_views()
- 6.2 contrib/emthumb/emthumb.install \_emthumb_update_reset_cache_views()
Clear the Views cache.
1 call to _emthumb_update_reset_cache_views()
- _emthumb_update_reset_cache in contrib/
emthumb/ emthumb.install - Clear the content and views caches.
File
- contrib/
emthumb/ emthumb.install, line 42 - Updates for the emthumb module.
Code
function _emthumb_update_reset_cache_views() {
$ret = array();
if (module_exists('views')) {
$ret[] = update_sql("DELETE FROM {cache_views}");
}
return $ret;
}