"MDL-12304, fix double text"
[moodle-linuxchix.git] / lib / htmlpurifier / HTMLPurifier / DefinitionCache / Null.php
blob559fc9ba0d4c99ab32e15ca20e39b960f6af4d2e
1 <?php
3 require_once 'HTMLPurifier/DefinitionCache.php';
5 /**
6 * Null cache object to use when no caching is on.
7 */
8 class HTMLPurifier_DefinitionCache_Null extends HTMLPurifier_DefinitionCache
11 function add($def, $config) {
12 return false;
15 function set($def, $config) {
16 return false;
19 function replace($def, $config) {
20 return false;
23 function get($config) {
24 return false;
27 function flush($config) {
28 return false;
31 function cleanup($config) {
32 return false;