function ctools_css_flush_caches in Chaos Tool Suite (ctools) 6
Same name and namespace in other branches
- 7 includes/css.inc \ctools_css_flush_caches()
Delegated implementation of hook_flush_caches()
1 call to ctools_css_flush_caches()
- ctools_flush_caches in ./
ctools.module - Ensure the CTools CSS cache is flushed whenever hook_flush_caches is invoked.
File
- includes/
css.inc, line 583
Code
function ctools_css_flush_caches() {
file_scan_directory(file_create_path('ctools/css'), '.*', array(
'.',
'..',
'CVS',
), 'file_delete', TRUE);
db_query("DELETE FROM {ctools_css_cache}");
}