[LON-CAPA-cvs] cvs: loncom /interface londocs.pm

raeburn raeburn at source.lon-capa.org
Sun May 8 14:39:28 EDT 2016


raeburn		Sun May  8 18:39:28 2016 EDT

  Modified files:              
    /loncom/interface	londocs.pm 
  Log:
  - Prior to rev. 1.292 (7/14/2007) the Course Editor's "Remove" link for an 
    uploaded file would delete the file on the course's homeserver.
    Re-instate that behavior.   
  
  
Index: loncom/interface/londocs.pm
diff -u loncom/interface/londocs.pm:1.601 loncom/interface/londocs.pm:1.602
--- loncom/interface/londocs.pm:1.601	Sat Apr  2 04:30:20 2016
+++ loncom/interface/londocs.pm	Sun May  8 18:39:27 2016
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Documents
 #
-# $Id: londocs.pm,v 1.601 2016/04/02 04:30:20 raeburn Exp $
+# $Id: londocs.pm,v 1.602 2016/05/08 18:39:27 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -3020,7 +3020,7 @@
 	$r->print($upload_output);
 
 # Rename, cut, copy or remove a single resource
-	if (&handle_edit_cmd()) {
+	if (&handle_edit_cmd($coursenum,$coursedom)) {
             my $contentchg;
             if ($env{'form.cmd'} =~ m{^(remove|cut)_}) {
                 $contentchg = 1;




More information about the LON-CAPA-cvs mailing list