[LON-CAPA-cvs] cvs: loncom /interface loncreatecourse.pm londocs.pm
raeburn
lon-capa-cvs@mail.lon-capa.org
Sun, 26 Jun 2005 15:42:54 -0000
raeburn Sun Jun 26 11:42:54 2005 EDT
Modified files:
/loncom/interface loncreatecourse.pm londocs.pm
Log:
Changes in arguments passed to &finishuserfileupload() and &store_edited_file() in lonnet rev. 1.638 need to be propagated to modules that call the routines.
Index: loncom/interface/loncreatecourse.pm
diff -u loncom/interface/loncreatecourse.pm:1.78 loncom/interface/loncreatecourse.pm:1.79
--- loncom/interface/loncreatecourse.pm:1.78 Thu Apr 7 02:56:23 2005
+++ loncom/interface/loncreatecourse.pm Sun Jun 26 11:42:52 2005
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Create a course
#
-# $Id: loncreatecourse.pm,v 1.78 2005/04/07 06:56:23 albertel Exp $
+# $Id: loncreatecourse.pm,v 1.79 2005/06/26 15:42:52 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -90,7 +90,6 @@
my %crsdata=&Apache::lonnet::coursedescription($courseid);
return &Apache::lonnet::finishuserfileupload(
$crsdata{'num'},$crsdata{'domain'},
- $crsdata{'home'},
'output',$which);
}
Index: loncom/interface/londocs.pm
diff -u loncom/interface/londocs.pm:1.190 loncom/interface/londocs.pm:1.191
--- loncom/interface/londocs.pm:1.190 Fri Jun 17 12:40:28 2005
+++ loncom/interface/londocs.pm Sun Jun 26 11:42:52 2005
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Documents
#
-# $Id: londocs.pm,v 1.190 2005/06/17 16:40:28 albertel Exp $
+# $Id: londocs.pm,v 1.191 2005/06/26 15:42:52 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -2312,8 +2312,7 @@
my $saveresult;
my $docuname=$env{'course.'.$env{'request.course.id'}.'.num'};
my $docudom=$env{'course.'.$env{'request.course.id'}.'.domain'};
- my $docuhome=$env{'course.'.$env{'request.course.id'}.'.home'};
- my $url = &Apache::lonnet::store_edited_file($primary_url,$content,$docudom,$docuname,$docuhome,\$saveresult);
+ my $url = &Apache::lonnet::store_edited_file($primary_url,$content,$docudom,$docuname,\$saveresult);
} else {
&Apache::lonnet::logthis('retrieval of uploaded file - '.$primary_url.' - for editing, failed: '.$getstatus);
}