mirror of
https://github.com/moodle/moodle.git
synced 2025-07-16 03:46:30 +02:00
New course parameter "visible" which makes the course available to
students. Defaults to 1 (on). Teacher can control this from settings page.
This commit is contained in:
@ -168,6 +168,10 @@ function main_upgrade($oldversion=0) {
|
||||
table_column("user", "", "autosubscribe", "integer", "1", "unsigned", "1", "", "htmleditor");
|
||||
}
|
||||
|
||||
if ($oldversion < 2003072100) {
|
||||
table_column("course", "", "visible", "integer", "1", "unsigned", "1", "", "marker");
|
||||
}
|
||||
|
||||
return $result;
|
||||
}
|
||||
?>
|
||||
|
Reference in New Issue
Block a user