mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2024-12-22 08:21:52 +00:00
Remove PHP 4 compatibility hack.
Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
This commit is contained in:
parent
8f401f769e
commit
804a06f01e
@ -36,8 +36,6 @@ class HTMLPurifier_Strategy_ValidateAttributes extends HTMLPurifier_Strategy
|
||||
|
||||
// note that we have no facilities here for removing tokens
|
||||
$validator->validateToken($token, $config, $context);
|
||||
|
||||
$tokens[$key] = $token; // for PHP 4
|
||||
}
|
||||
$context->destroy('CurrentToken');
|
||||
return $tokens;
|
||||
|
Loading…
Reference in New Issue
Block a user