mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
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:
parent
2b9f062552
commit
aac94fd0cc
9 changed files with 91 additions and 25 deletions
|
@ -501,6 +501,10 @@ function main_upgrade($oldversion=0) {
|
|||
execute_sql(" INSERT INTO {$CFG->prefix}log_display (module, action, mtable, field) VALUES ('course', 'user report', 'user', 'CONCAT(firstname,\" \",lastname)') ");
|
||||
}
|
||||
|
||||
if ($oldversion < 2003091400) {
|
||||
table_column("course_modules", "", "indent", "integer", "5", "unsigned", "0", "", "score");
|
||||
}
|
||||
|
||||
return $result;
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue