1 common.inc backdrop_clear_css_cache()

Deletes old cached CSS files.

File

core/includes/common.inc, line 4309
Common functions that many Backdrop modules will need to reference.

Code

function backdrop_clear_css_cache() {
  state_del('css_cache_files');
  file_scan_directory('public://css', '/.*/', array('callback' => 'backdrop_delete_file_if_stale'));
}