You are here

function ctools_flush_caches in Chaos Tool Suite (ctools) 7

Same name and namespace in other branches
  1. 6 ctools.module \ctools_flush_caches()

Implements hook_flush_caches().

File

./ctools.module, line 692
CTools primary module file.

Code

function ctools_flush_caches() {

  // Only return the CSS cache bin if it has been activated, to avoid
  // drupal_flush_all_caches() from trying to truncate a non-existing table.
  return variable_get('cache_class_cache_ctools_css', FALSE) ? array(
    'cache_ctools_css',
  ) : array();
}