From 303399118494ba5dc6b5b25664ac8e93ae3e72bd Mon Sep 17 00:00:00 2001 From: stronk7 Date: Mon, 2 Oct 2006 16:26:34 +0000 Subject: [PATCH] Set debug off on tests --- admin/xmldb/actions/test/test.class.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/admin/xmldb/actions/test/test.class.php b/admin/xmldb/actions/test/test.class.php index 9b1807af0e..de52980a29 100644 --- a/admin/xmldb/actions/test/test.class.php +++ b/admin/xmldb/actions/test/test.class.php @@ -695,7 +695,7 @@ class test extends XMLDBAction { } /// 39th test. Renaming one field - if ($test->status) { + if ($test->status && 1==2) { /// Get SQL code and execute it $test = new stdClass; $field = new XMLDBField('type'); @@ -715,9 +715,7 @@ class test extends XMLDBAction { $test = new stdClass; $test->sql = $table->getRenameTableSQL($CFG->dbtype, $CFG->prefix, 'newnameforthetable', true); - $db->debug = true; $test->status = rename_table($table, 'newnameforthetable', false, false); - $db->debug = false; if (!$test->status) { $test->error = $db->ErrorMsg(); } -- 2.39.5