mirror of
https://github.com/moodle/moodle.git
synced 2025-08-11 20:06:46 +02:00
MDL-28627 remove buggy and obsolete KSES cleaning
This commit is contained in:
parent
3a81b37617
commit
73b309e6a3
10 changed files with 9 additions and 902 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue