MDL-23979 switching CFG->dirroot is a really bad idea, I borked this test when adding...
authorPetr Skoda <skodak@moodle.org>
Sat, 28 Aug 2010 12:20:09 +0000 (12:20 +0000)
committerPetr Skoda <skodak@moodle.org>
Sat, 28 Aug 2010 12:20:09 +0000 (12:20 +0000)
lib/simpletest/broken_testfiltermanager.php [moved from lib/simpletest/testfiltermanager.php with 95% similarity]

similarity index 95%
rename from lib/simpletest/testfiltermanager.php
rename to lib/simpletest/broken_testfiltermanager.php
index 3979d9a..c68129b 100644 (file)
@@ -35,6 +35,9 @@ if (!defined('MOODLE_INTERNAL')) {
     die('Direct access to this script is forbidden.');    ///  It must be included from a Moodle page
 }
 
+//TODO: messing with CFG->dirroot is a really bad idea! I am not going to fix this, sorry. (skodak)
+//      if anybody wants to fix this then filter manager has to be modified so that it uses different dir, sorry
+
 require_once($CFG->libdir . '/filterlib.php');
 
 class testable_filter_manager extends filter_manager {