New field on course_modules called "indent" ... this is an integer
that tells us how far to indent the activity when it is displayed. This gives us some more flexibility on the course outline to arrange things as we might like them, into subtopics etc Backup/restore is updated as well. There is also a bit more robustness in course/mod.php
This commit is contained in:
@@ -250,6 +250,11 @@ function main_upgrade($oldversion=0) {
|
||||
table_column("course", "", "showrecent", "integer", "10", "unsigned", "1", "", "numsections");
|
||||
}
|
||||
|
||||
if ($oldversion < 2003091400) {
|
||||
table_column("course_modules", "", "indent", "integer", "5", "unsigned", "0", "", "score");
|
||||
}
|
||||
|
||||
|
||||
return $result;
|
||||
}
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user