function sassy_clear_cache in Sassy 7
Same name and namespace in other branches
- 7.3 sassy.module \sassy_clear_cache()
Deletes old cached SCSS files.
1 call to sassy_clear_cache()
- sassy_flush_caches in ./
sassy.module - Implementation of hook_flush_caches().
File
- ./
sassy.module, line 109 - Handles compiling of .sass / .scss files.
Code
function sassy_clear_cache() {
variable_del('sassy_cache');
file_scan_directory('public://sassy', '/.*/', array(
'callback' => 'drupal_delete_file_if_stale',
));
}