[LON-CAPA-cvs] cvs: loncom(version_2_11_X) /interface lonrequestcourse.pm
raeburn
raeburn at source.lon-capa.org
Sat Sep 1 21:16:59 EDT 2018
raeburn Sun Sep 2 01:16:59 2018 EDT
Modified files: (Branch: version_2_11_X)
/loncom/interface lonrequestcourse.pm
Log:
- For 2.11
Backport 1.104
Index: loncom/interface/lonrequestcourse.pm
diff -u loncom/interface/lonrequestcourse.pm:1.95.2.2 loncom/interface/lonrequestcourse.pm:1.95.2.3
--- loncom/interface/lonrequestcourse.pm:1.95.2.2 Sun Sep 18 20:04:02 2016
+++ loncom/interface/lonrequestcourse.pm Sun Sep 2 01:16:59 2018
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Request a course
#
-# $Id: lonrequestcourse.pm,v 1.95.2.2 2016/09/18 20:04:02 raeburn Exp $
+# $Id: lonrequestcourse.pm,v 1.95.2.3 2018/09/02 01:16:59 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -5032,6 +5032,9 @@
} else {
$details->{dateshift} = '';
}
+ } elsif (($reqtype eq 'textbook') || ($reqtype eq 'template')) {
+ $details->{datemode} = 'delete';
+ $details->{dateshift} = '';
}
if ($details->{dateshift} ne '') {
$details->{dateshift} =~ s/[^\d\.]+//g;
More information about the LON-CAPA-cvs
mailing list