- # check_list(name, owner, export, parent, desc)
-
- &check_list($base, "registrar", 1, "",
- "Automatically-created class participants list for $class");
- &check_list("$base-reg", "registrar", 0, $base,
- "Automatically-generated registered students list for $class");
- &check_list($staff, $staff, 0, $base,
- "Automatically-created teaching staff list for $class");
- &check_list("$base-others", $staff, 0, $base,
- "Automatically-created non-registered students and miscellaneous people list for $class");
+ # check_list(name, owner, export, desc)
+ &check_list($staff, $staff, 0,
+ "Teaching staff list for $class");
+ &check_list("$base-reg", $staff, 0,
+ "*** DO NOT MODIFY *** Automatically-created registered students list for $class");
+ &check_list("$base-others", $staff, 0,
+ "Non-registered students and miscellaneous people list for $class");
+ &check_list($base, $staff, 1,
+ "*** DO NOT MODIFY *** Automatically-created participants list for $class");
+ if (!$lists{$base}) {
+ &add_member($staff, LIST, $base);
+ &add_member("$base-reg", LIST, $base);
+ &add_member("$base-others", LIST, $base);
+ }