[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lon-capa-cvs
Subject:    [LON-CAPA-cvs] cvs: loncom /lonnet/perl lonnet.pm
From:       raeburn via LON-CAPA-cvs <lon-capa-cvs () mail ! lon-capa ! org>
Date:       2022-05-26 2:07:36
Message-ID: cvsraeburn1653530856 () cvsserver
[Download RAW message or body]

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;
 	}


_______________________________________________
LON-CAPA-cvs mailing list
LON-CAPA-cvs@mail.lon-capa.org
http://mail.lon-capa.org/mailman/listinfo/lon-capa-cvs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic