fix for 5720
This commit is contained in:
@@ -1051,6 +1051,13 @@ function quiz_upgrade($oldversion) {
|
||||
FROM prefix_quiz_attempts;");
|
||||
}
|
||||
|
||||
if ($oldversion < 2006060700) { // fix for 5720
|
||||
execute_sql('DROP TABLE '.$CFG->prefix.'question_essay_states', false);
|
||||
execute_sql('DROP TABLE '.$CFG->prefix.'question_essay', false);
|
||||
execute_sql('DROP TABLE '.$CFG->prefix.'quiz_attemptonlast_datasets', false);
|
||||
}
|
||||
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
// This fragment is called by moodle_needs_upgrading() and /admin/index.php
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
$module->version = 2006042802; // The (date) version of this module
|
||||
$module->version = 2006060700; // The (date) version of this module
|
||||
$module->requires = 2006022400; // Requires this Moodle version
|
||||
$module->cron = 0; // How often should cron check this module (seconds)?
|
||||
|
||||
|
||||
Reference in New Issue
Block a user