merged fix for 5720

This commit is contained in:
toyomoyo
2006-06-07 05:59:25 +00:00
parent 9073d2ddad
commit 257c550aae
2 changed files with 8 additions and 1 deletions
+7
View File
@@ -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;
}
+1 -1
View File
@@ -5,7 +5,7 @@
// This fragment is called by moodle_needs_upgrading() and /admin/index.php
////////////////////////////////////////////////////////////////////////////////
$module->version = 2006051700; // 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)?