grader report MDL-19704 Fixed a problem with my version/upgrade changes

This commit is contained in:
Andrew Davis 2010-01-12 03:01:40 +00:00
parent 82fc44da39
commit c95002a23c
2 changed files with 3 additions and 3 deletions

View file

@ -2857,7 +2857,7 @@ WHERE gradeitemid IS NOT NULL AND grademax IS NOT NULL");
upgrade_main_savepoint($result, 2010010601);
}
if ($result && $oldversion < 2010010612) {
if ($result && $oldversion < 2010011200) {
$table = new xmldb_table('grade_categories');
$field = new xmldb_field('hidden', XMLDB_TYPE_INTEGER, '10', XMLDB_UNSIGNED, XMLDB_NOTNULL, null, 0);
@ -2865,7 +2865,7 @@ WHERE gradeitemid IS NOT NULL AND grademax IS NOT NULL");
$dbman->add_field($table, $field);
}
upgrade_main_savepoint($result, 2010010612);
upgrade_main_savepoint($result, 2010011200);
}
return $result;

View file

@ -6,7 +6,7 @@
// This is compared against the values stored in the database to determine
// whether upgrades should be performed (see lib/db/*.php)
$version = 2010010601.01; // YYYYMMDD = date of the last version bump
$version = 2010011200; // YYYYMMDD = date of the last version bump
// XX = daily increments
$release = '2.0 dev (Build: 20100112)'; // Human-friendly version name