mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
grader report MDL-19704 Fixed a problem with my version/upgrade changes
This commit is contained in:
parent
5f08e124da
commit
82fc44da39
1 changed files with 2 additions and 2 deletions
|
@ -2857,7 +2857,7 @@ WHERE gradeitemid IS NOT NULL AND grademax IS NOT NULL");
|
||||||
upgrade_main_savepoint($result, 2010010601);
|
upgrade_main_savepoint($result, 2010010601);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($result && $oldversion < 2010010601.01) {
|
if ($result && $oldversion < 2010010612) {
|
||||||
$table = new xmldb_table('grade_categories');
|
$table = new xmldb_table('grade_categories');
|
||||||
$field = new xmldb_field('hidden', XMLDB_TYPE_INTEGER, '10', XMLDB_UNSIGNED, XMLDB_NOTNULL, null, 0);
|
$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);
|
$dbman->add_field($table, $field);
|
||||||
}
|
}
|
||||||
|
|
||||||
upgrade_main_savepoint($result, 2010010601.01);
|
upgrade_main_savepoint($result, 2010010612);
|
||||||
}
|
}
|
||||||
|
|
||||||
return $result;
|
return $result;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue