Log Message:
-----------
don't write globalUserID to course.conf file.
Modified Files:
--------------
webwork2/lib/WeBWorK/Utils:
CourseManagement.pm
Revision Data
-------------
Index: CourseManagement.pm
===================================================================
RCS file: /webwork/cvs/system/webwork2/lib/WeBWorK/Utils/CourseManagement.pm,v
retrieving revision 1.26
retrieving revision 1.27
diff -Llib/WeBWorK/Utils/CourseManagement.pm -Llib/WeBWorK/Utils/CourseManagement.pm -u -r1.26 -r1.27
--- lib/WeBWorK/Utils/CourseManagement.pm
+++ lib/WeBWorK/Utils/CourseManagement.pm
@@ -826,44 +826,6 @@
}
print $fh <<'EOF';
-# Global User ID (global value typically defined in database.conf)
-#
-# The globalUserID parameter given for the set and problem tables denotes the ID
-# of the user that the GlobalTableEmulator will use to store data for the set
-# and problem tables.
-#
-# If a course will be used under WeBWorK 1.x, this value should be overridden on
-# a course-by-course basis to the ID of the professor who is most likely to be
-# involved in creating new problem sets. Sets which have not been assigned will
-# only be visible to this user when logging into WeBWorK 1.x.
-#
-# The global user ID is always set here, since one should be able to change the
-# default value in database.conf without disrupting existing courses.
-#
-# global.conf values:
-EOF
-
- print $fh "# \t", '$dbLayouts{gdbm}->{set}->{params}->{globalUserID} = \'',
- protectQString($ce->{dbLayouts}->{gdbm}->{set}->{params}->{globalUserID}), '\';', "\n";
- print $fh "# \t", '$dbLayouts{gdbm}->{problem}->{params}->{globalUserID} = \'',
- protectQString($ce->{dbLayouts}->{gdbm}->{problem}->{params}->{globalUserID}), '\';', "\n";
- print $fh "\n";
-
- if (defined $options{globalUserID} or defined $options{globalUserID}) {
- if (defined $options{globalUserID}) {
- print $fh '$dbLayouts{gdbm}->{set}->{params}->{globalUserID} = \'',
- protectQString($options{globalUserID}), '\';', "\n";
- }
- if (defined $options{globalUserID}) {
- print $fh '$dbLayouts{gdbm}->{problem}->{params}->{globalUserID} = \'',
- protectQString($options{globalUserID}), '\';', "\n";
- }
- print $fh "\n";
- } else {
- print $fh "\n\n\n";
- }
-
- print $fh <<'EOF';
# Allowed Mail Recipients (global value typically not defined)
#
# Defines addresses to which the PG system is allowed to send mail. This should
|