Skip navigation
Help

drupal_clear_css_cache

6 common.inc drupal_clear_css_cache()
7 common.inc drupal_clear_css_cache()

Deletes old cached CSS files.

3 calls to drupal_clear_css_cache()

1 string reference to 'drupal_clear_css_cache'

File

drupal/includes/common.inc, line 3613
Common functions that many Drupal modules will need to reference.

Code

function drupal_clear_css_cache() {
  variable_del('drupal_css_cache_files');
  file_scan_directory('public://css', '/.*/', array('callback' => 'drupal_delete_file_if_stale'));
}