Commit 15257dd1 authored by Sam Hemelryk's avatar Sam Hemelryk
Browse files

lib-db MDL-25790 Added code to drop adodb_logsql if it exists

parent 43c98457
...@@ -5926,6 +5926,17 @@ WHERE gradeitemid IS NOT NULL AND grademax IS NOT NULL"); ...@@ -5926,6 +5926,17 @@ WHERE gradeitemid IS NOT NULL AND grademax IS NOT NULL");
upgrade_main_savepoint(true, 2011011413); upgrade_main_savepoint(true, 2011011413);
} }
if ($oldversion < 2011011414) {
// Drop the adodb_logsql table if it exists... it was never actually used anyway.
$table = new xmldb_table('adodb_logsql');
if ($dbman->table_exists($table)) {
$dbman->drop_table($table);
}
upgrade_main_savepoint(true, 2011011414);
}
return true; return true;
} }
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
defined('MOODLE_INTERNAL') || die(); defined('MOODLE_INTERNAL') || die();
$version = 2011011413; // YYYYMMDD = date of the last version bump $version = 2011011414; // YYYYMMDD = date of the last version bump
// XX = daily increments // XX = daily increments
$release = '2.0.1+ (Build: 20110112)'; // Human-friendly version name $release = '2.0.1+ (Build: 20110112)'; // Human-friendly version name
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment