Do a check to create the default scale if it isn't already

This commit is contained in:
moodler
2003-08-15 14:30:30 +00:00
parent d318a24d45
commit 11402bbdbc
3 changed files with 11 additions and 1 deletions
+4
View File
@@ -220,6 +220,10 @@ function main_upgrade($oldversion=0) {
)");
}
if ($oldversion < 2003081503) {
get_scales_menu(0); // Just to force the default scale to be created
}
return $result;
}