You are here

function _emthumb_update_reset_cache in Embedded Media Field 6

Same name and namespace in other branches
  1. 6.3 contrib/emthumb/emthumb.install \_emthumb_update_reset_cache()
  2. 6.2 contrib/emthumb/emthumb.install \_emthumb_update_reset_cache()

Clear the content and views caches.

2 calls to _emthumb_update_reset_cache()
emthumb_update_6002 in contrib/emthumb/emthumb.install
New formatters and theme functions.
_emthumb_update_add_new_formatters in contrib/emthumb/emthumb.install
Rebuild the theme for new formatters.

File

contrib/emthumb/emthumb.install, line 54
Updates for the emthumb module.

Code

function _emthumb_update_reset_cache() {
  $ret = _emthumb_update_reset_cache_views();
  $ret[] = update_sql("DELETE FROM {cache_content}");
  return $ret;
}