function HTMLPurifier_DefinitionCache_Drupal::remove in HTML Purifier 7
Same name and namespace in other branches
- 5 HTMLPurifier_DefinitionCache_Drupal.php \HTMLPurifier_DefinitionCache_Drupal::remove()
- 6.2 HTMLPurifier_DefinitionCache_Drupal.php \HTMLPurifier_DefinitionCache_Drupal::remove()
- 6 HTMLPurifier_DefinitionCache_Drupal.php \HTMLPurifier_DefinitionCache_Drupal::remove()
- 7.2 HTMLPurifier_DefinitionCache_Drupal.php \HTMLPurifier_DefinitionCache_Drupal::remove()
Delete an object from the cache
File
- ./
HTMLPurifier_DefinitionCache_Drupal.php, line 62
Class
Code
function remove($config) {
$key = $this
->generateKey($config);
cache_clear_all("htmlpurifier:{$key}", 'cache');
return TRUE;
}