- Deleting inconsistent records on glossary_alias due to the last fixed bug.
This commit is contained in:
@@ -238,6 +238,11 @@ function glossary_upgrade($oldversion) {
|
||||
if ($oldversion < 2003112101) {
|
||||
table_column("glossary", "", "scale", "integer", "10", "", "0", "", "assesstimefinish");
|
||||
}
|
||||
|
||||
if ($oldversion < 2003112701) {
|
||||
delete_records("glossary_alias","entryid",0);
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
/// This fragment is called by moodle_needs_upgrading() and /admin/index.php
|
||||
/////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
$module->version = 2003112101; // The current module version (Date: YYYYMMDDXX)
|
||||
$module->version = 2003112701; // The current module version (Date: YYYYMMDDXX)
|
||||
$module->cron = 0; // Period for cron to check this module (secs)
|
||||
|
||||
$release = "0.5 development"; // User-friendly version number
|
||||
|
||||
Reference in New Issue
Block a user