[LON-CAPA-cvs] cvs: loncom /xml londefdef.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Thu, 02 Sep 2004 18:04:49 -0000
albertel Thu Sep 2 14:04:49 2004 EDT
Modified files:
/loncom/xml londefdef.pm
Log:
- now uses repcopy rather than getfile since the contens aren't needed
Index: loncom/xml/londefdef.pm
diff -u loncom/xml/londefdef.pm:1.239 loncom/xml/londefdef.pm:1.240
--- loncom/xml/londefdef.pm:1.239 Mon Aug 30 14:25:55 2004
+++ loncom/xml/londefdef.pm Thu Sep 2 14:04:49 2004
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Tags Default Definition Module
#
-# $Id: londefdef.pm,v 1.239 2004/08/30 18:25:55 sakharuk Exp $
+# $Id: londefdef.pm,v 1.240 2004/09/02 18:04:49 albertel Exp $
#
#
# Copyright Michigan State University Board of Trustees
@@ -2444,7 +2444,7 @@
my ($file,$path)=&file_path($src);
my $newsrc = $src;
$newsrc =~ s/\.(gif|jpg|png)$/.eps/i;
- my $dummy_content=&Apache::lonnet::getfile($oldSRC);
+ &Apache::lonnet::repcopy($oldSRC);
$file=~s/\.(gif|jpg|png)$/.eps/i;
#where can we find the picture?
if (-e $newsrc) {