Unit tests MDL-24842: Fixed error in previous UnitTestCaseDatabase change

This commit is contained in:
Sam Marshall 2010-11-01 11:14:34 +00:00
parent 473792550d
commit ca79c36843

View File

@ -538,7 +538,7 @@ class UnitTestCaseUsingDatabase extends UnitTestCase {
* have, display a rude message and clean it up for them.
*/
private function automatic_clean_up() {
global $DB;
global $DB, $CFG;
$cleanmore = false;
// Drop any test tables that were created.