- Deleting inconsistent records on glossary_alias due to the last fixed bug.

This commit is contained in:
willcast
2003-11-27 13:32:02 +00:00
parent 3823500342
commit 0f23e14e27
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -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;
}
+1 -1
View File
@@ -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