MDL-79863 qtype_ordering: qtype_ordering force standard settings for Ordering questions used by Reader quizzes
This commit is contained in:
committed by
Mathew May
parent
eb1db13b70
commit
2d45d4ebf3
@@ -201,8 +201,9 @@ function xmldb_qtype_ordering_upgrade($oldversion) {
|
||||
$table = 'qtype_ordering_options';
|
||||
$DB->set_field_select($table, 'layouttype', 0, $select, $params); // VERTICAL
|
||||
$DB->set_field_select($table, 'selecttype', 1, $select, $params); // RANDOM
|
||||
$DB->set_field_select($table, 'selectcount', 6, $select, $params); // 6
|
||||
$DB->set_field_select($table, 'gradingtype', 1, $select, $params); // RELATIVE
|
||||
// Note don't set selectcount to 6, because
|
||||
// Ordering questions for some low level books use 4
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -31,5 +31,5 @@ $plugin->cron = 0;
|
||||
$plugin->component = 'qtype_ordering';
|
||||
$plugin->maturity = MATURITY_STABLE;
|
||||
$plugin->requires = 2010112400; // Moodle 2.0
|
||||
$plugin->version = 2016032947;
|
||||
$plugin->release = '2016-03-29 (47)';
|
||||
$plugin->version = 2016032948;
|
||||
$plugin->release = '2016-03-29 (48)';
|
||||
|
||||
Reference in New Issue
Block a user