You are here

function HTMLPurifier_DefinitionCache_Drupal::flush in HTML Purifier 6.2

Same name and namespace in other branches
  1. 5 HTMLPurifier_DefinitionCache_Drupal.php \HTMLPurifier_DefinitionCache_Drupal::flush()
  2. 6 HTMLPurifier_DefinitionCache_Drupal.php \HTMLPurifier_DefinitionCache_Drupal::flush()
  3. 7.2 HTMLPurifier_DefinitionCache_Drupal.php \HTMLPurifier_DefinitionCache_Drupal::flush()
  4. 7 HTMLPurifier_DefinitionCache_Drupal.php \HTMLPurifier_DefinitionCache_Drupal::flush()

File

./HTMLPurifier_DefinitionCache_Drupal.php, line 69

Class

HTMLPurifier_DefinitionCache_Drupal
Cache handler that stores all data in drupals builtin cache

Code

function flush($config) {
  cache_clear_all("htmlpurifier:*", 'cache', true);
  return true;
}