mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
quiz upgrade MDL-20856 quiz upgrade was duplicating the statistics row in the quiz_report table.
This commit is contained in:
parent
738bf9b953
commit
45213559b4
@ -60,11 +60,6 @@ function xmldb_quiz_upgrade($oldversion) {
|
||||
$reporttoinsert->displayorder = 9000;
|
||||
$result = $result && $DB->insert_record('quiz_report', $reporttoinsert);
|
||||
|
||||
$reporttoinsert = new object();
|
||||
$reporttoinsert->name = 'statistics';
|
||||
$reporttoinsert->displayorder = 8000;
|
||||
$result = $result && $DB->insert_record('quiz_report', $reporttoinsert);
|
||||
|
||||
$reporttoinsert = new object();
|
||||
$reporttoinsert->name = 'regrade';
|
||||
$reporttoinsert->displayorder = 7000;
|
||||
|
Loading…
x
Reference in New Issue
Block a user