MDL-28627 remove buggy and obsolete KSES cleaning

This commit is contained in:
Petr Skoda 2011-10-22 09:25:06 +02:00
parent 3a81b37617
commit 73b309e6a3
10 changed files with 9 additions and 902 deletions

View file

@ -30,21 +30,16 @@ class purifier_test extends UnitTestCase {
public static $includecoverage = array('lib/htmlpurifier/HTMLPurifier.php');
private $enablehtmlpurifier = null;
private $cachetext = null;
function setUp() {
global $CFG;
$this->enablehtmlpurifier = $CFG->enablehtmlpurifier;
$CFG->enablehtmlpurifier = 1;
$this->cachetext = $CFG->cachetext;
$CFG->cachetext = 0;
}
function tearDown() {
global $CFG;
$CFG->enablehtmlpurifier = $this->enablehtmlpurifier;
$CFG->cachetext = $this->cachetext;
}