[LON-CAPA-cvs] cvs: loncom /lonnet/perl lonnet.pm
raeburn
raeburn at source.lon-capa.org
Wed Sep 25 13:29:16 EDT 2024
raeburn Wed Sep 25 17:29:16 2024 EDT
Modified files:
/loncom/lonnet/perl lonnet.pm
Log:
- Domain default for available editors for course HTML files and assessment
items in course authoring space has no dependency on course type.
Index: loncom/lonnet/perl/lonnet.pm
diff -u loncom/lonnet/perl/lonnet.pm:1.1528 loncom/lonnet/perl/lonnet.pm:1.1529
--- loncom/lonnet/perl/lonnet.pm:1.1528 Fri Jun 14 18:49:42 2024
+++ loncom/lonnet/perl/lonnet.pm Wed Sep 25 17:29:15 2024
@@ -1,7 +1,7 @@
# The LearningOnline Network
# TCP networking package
#
-# $Id: lonnet.pm,v 1.1528 2024/06/14 18:49:42 raeburn Exp $
+# $Id: lonnet.pm,v 1.1529 2024/09/25 17:29:15 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -2829,6 +2829,9 @@
if (ref($domconfig{'coursedefaults'}{'postsubmit'}) eq 'HASH') {
$domdefaults{'postsubmit'} = $domconfig{'coursedefaults'}{'postsubmit'}{'client'};
}
+ if (ref($domconfig{'coursedefaults'}{'crseditors'}) eq 'ARRAY') {
+ $domdefaults{'crseditors'}=join(',',@{$domconfig{'coursedefaults'}{'crseditors'}});
+ }
foreach my $type (@coursetypes) {
if (ref($domconfig{'coursedefaults'}{'coursecredits'}) eq 'HASH') {
unless ($type eq 'community') {
@@ -2862,9 +2865,6 @@
} else {
$domdefaults{$type.'crsauthor'} = 1;
}
- if (ref($domconfig{'coursedefaults'}{'crseditors'}) eq 'ARRAY') {
- $domdefaults{'crseditors'}=join(',',@{$domconfig{'coursedefaults'}{'crseditors'}});
- }
}
if (ref($domconfig{'coursedefaults'}{'canclone'}) eq 'HASH') {
if (ref($domconfig{'coursedefaults'}{'canclone'}{'instcode'}) eq 'ARRAY') {
More information about the LON-CAPA-cvs
mailing list