mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
MDL-26848 fixing some "stupid" comments and specs of 1 field
This commit is contained in:
parent
c6f7c3e7f3
commit
18e3cba749
1 changed files with 9 additions and 9 deletions
|
@ -161,7 +161,7 @@ function xmldb_quiz_statistics_upgrade($oldversion) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($oldversion < 2008112101) {
|
if ($oldversion < 2008112101) {
|
||||||
// Removed stupid UNSIGNED from all NUMBER columns in the quiz_statistics table.
|
// Removed UNSIGNED from all NUMBER columns in the quiz_statistics table.
|
||||||
$table = new xmldb_table('quiz_statistics');
|
$table = new xmldb_table('quiz_statistics');
|
||||||
|
|
||||||
// Change of sign for field firstattemptsavg
|
// Change of sign for field firstattemptsavg
|
||||||
|
@ -193,7 +193,7 @@ function xmldb_quiz_statistics_upgrade($oldversion) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($oldversion < 2008112102) {
|
if ($oldversion < 2008112102) {
|
||||||
// Removed stupid UNSIGNED from all NUMBER columns in the quiz_question_statistics table.
|
// Removed UNSIGNED from all NUMBER columns in the quiz_question_statistics table.
|
||||||
$table = new xmldb_table('quiz_question_statistics');
|
$table = new xmldb_table('quiz_question_statistics');
|
||||||
|
|
||||||
// Change of sign for field effectiveweight
|
// Change of sign for field effectiveweight
|
||||||
|
@ -221,7 +221,7 @@ function xmldb_quiz_statistics_upgrade($oldversion) {
|
||||||
$table = new xmldb_table('quiz_question_response_stats');
|
$table = new xmldb_table('quiz_question_response_stats');
|
||||||
|
|
||||||
// Change of sign for field credit
|
// Change of sign for field credit
|
||||||
$field = new xmldb_field('credit', XMLDB_TYPE_NUMBER, '15, 5', null, null, null, null, 'rcount');
|
$field = new xmldb_field('credit', XMLDB_TYPE_NUMBER, '15, 5', null, XMLDB_NOTNULL, null, null, 'rcount');
|
||||||
$dbman->change_field_unsigned($table, $field);
|
$dbman->change_field_unsigned($table, $field);
|
||||||
|
|
||||||
// statistics savepoint reached
|
// statistics savepoint reached
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue