function drupal_clear_js_cache

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

Delete all cached JS files.

2 calls to drupal_clear_js_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.
1 string reference to 'drupal_clear_js_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 2534
Common functions that many Drupal modules will need to reference.

Código

function drupal_clear_js_cache() {
  file_scan_directory(file_create_path('js'), '.*', array('.', '..', 'CVS'), 'file_delete', TRUE);
  variable_set('javascript_parsed', array());
}