function views_plugin_cache::cache_flush

Same name in other branches
  1. 7.x-3.x plugins/views_plugin_cache.inc \views_plugin_cache::cache_flush()

Clear out cached data for a view.

We're just going to nuke anything related to the view, regardless of display, to be sure that we catch everything. Maybe that's a bad idea.

File

plugins/views_plugin_cache.inc, line 146

Class

views_plugin_cache
The base plugin to handle caching.

Code

function cache_flush() {
    cache_clear_all($this->view->name . ':', $this->table, TRUE);
}