mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2025-08-03 20:58:11 +02:00
[1.7.0] DefinitionCache->flush() now requires configuration object. DefinitionCache_Serializer now will create directories for new types on the fly, and can accept custom directories to save serials into.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1147 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
@@ -50,8 +50,8 @@ class HTMLPurifier_DefinitionCache_Decorator extends HTMLPurifier_DefinitionCach
|
||||
return $this->cache->get($config);
|
||||
}
|
||||
|
||||
function flush() {
|
||||
return $this->cache->flush();
|
||||
function flush($config) {
|
||||
return $this->cache->flush($config);
|
||||
}
|
||||
|
||||
function cleanup($config) {
|
||||
|
Reference in New Issue
Block a user