function drupal_clear_css_cache

Same name and namespace in other branches
  1. 7.x drupal-7.x/includes/common.inc \drupal_clear_css_cache()

Delete all cached CSS files.

3 calls to drupal_clear_css_cache()
drupal_flush_all_caches in drupal-6.x/includes/common.inc
Flush all cached data on the site.
system_modules_submit in drupal-6.x/modules/system/system.admin.inc
Submit callback; handles modules form submission.
system_themes_form_submit in drupal-6.x/modules/system/system.admin.inc
Process system_themes_form form submissions.
1 string reference to 'drupal_clear_css_cache'
system_performance_settings in drupal-6.x/modules/system/system.admin.inc
Form builder; Configure site performance settings.

Archivo

drupal-6.x/includes/common.inc, line 2158
Common functions that many Drupal modules will need to reference.

Código

function drupal_clear_css_cache() {
  file_scan_directory(file_create_path('css'), '.*', array('.', '..', 'CVS'), 'file_delete', TRUE);
}