MDL-24116 dropping tables that were used in old xmldb test suite, the tests will be moved to functional db tests in subsequent commits

This commit is contained in:
Petr Skoda
2010-09-13 17:33:01 +00:00
parent d5b5da84bf
commit 4be6e404d2
2 changed files with 19 additions and 1 deletions
+18
View File
@@ -5127,6 +5127,24 @@ WHERE gradeitemid IS NOT NULL AND grademax IS NOT NULL");
upgrade_main_savepoint(true, 2010091302);
}
if ($oldversion < 2010091303) {
// drop all test tables from old xmldb test suite
$table = new xmldb_table('testtable');
if ($dbman->table_exists($table)) {
$dbman->drop_table($table);
}
$table = new xmldb_table('anothertest');
if ($dbman->table_exists($table)) {
$dbman->drop_table($table);
}
$table = new xmldb_table('newnameforthetable');
if ($dbman->table_exists($table)) {
$dbman->drop_table($table);
}
upgrade_main_savepoint(true, 2010091303);
}
return true;
}
+1 -1
View File
@@ -29,7 +29,7 @@
defined('MOODLE_INTERNAL') || die();
$version = 2010091302; // YYYYMMDD = date of the last version bump
$version = 2010091303; // YYYYMMDD = date of the last version bump
// XX = daily increments
$release = '2.0 Preview 4+ (Build: 20100913)'; // Human-friendly version name