You are here

function HTMLPurifier_DefinitionCache_Drupal::flush in HTML Purifier 7

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

File

./HTMLPurifier_DefinitionCache_Drupal.php, line 68

Class

HTMLPurifier_DefinitionCache_Drupal

Code

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