[LON-CAPA-cvs] cvs: loncom /lonnet/perl lonnet.pm
raeburn
raeburn at source.lon-capa.org
Wed May 25 22:07:36 EDT 2022
raeburn Thu May 26 02:07:36 2022 EDT
Modified files:
/loncom/lonnet/perl lonnet.pm
Log:
- Reverse a change in rev. 1.481.
URLs for PDFs uploaded to a course do not have /adm/wrapper prepended in
the keys in the *_symb.db cache. The opposite is true for the ids_ keys
and the values for src_N.M in the bighash *.db file.
Index: loncom/lonnet/perl/lonnet.pm
diff -u loncom/lonnet/perl/lonnet.pm:1.1484 loncom/lonnet/perl/lonnet.pm:1.1485
--- loncom/lonnet/perl/lonnet.pm:1.1484 Sun Feb 27 01:43:14 2022
+++ loncom/lonnet/perl/lonnet.pm Thu May 26 02:07:36 2022
@@ -1,7 +1,7 @@
# The LearningOnline Network
# TCP networking package
#
-# $Id: lonnet.pm,v 1.1484 2022/02/27 01:43:14 raeburn Exp $
+# $Id: lonnet.pm,v 1.1485 2022/05/26 02:07:36 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -13744,9 +13744,6 @@
my $syval='';
if (($env{'request.course.fn'}) && ($thisfn)) {
my $targetfn = $thisfn;
- if ( ($thisfn =~ m/^(uploaded|editupload)\//) && ($thisfn !~ m/\.(page|sequence)$/) ) {
- $targetfn = 'adm/wrapper/'.$thisfn;
- }
if ($targetfn =~ m|^adm/wrapper/(ext/.*)|) {
$targetfn=$1;
}
More information about the LON-CAPA-cvs
mailing list