quiz upgrade MDL-20856 quiz upgrade was duplicating the statistics row in the quiz_report table.

This commit is contained in:
Tim Hunt 2010-05-07 00:59:02 +00:00
parent 738bf9b953
commit 45213559b4

View File

@ -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;