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:
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user