function ctools_flush_caches

Implements hook_flush_caches().

File

./ctools.module, line 692

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();
}