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:
moodler
2003-07-21 07:31:01 +00:00
parent 319ea04166
commit a6d82c3f49
8 changed files with 41 additions and 6 deletions

View File

@ -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;
}
?>