[LON-CAPA-cvs] cvs: loncom /homework bridgetask.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Wed, 29 Mar 2006 14:03:09 -0000
albertel Wed Mar 29 09:03:09 2006 EDT
Modified files:
/loncom/homework bridgetask.pm
Log:
- stat_file isn't in 2.1
Index: loncom/homework/bridgetask.pm
diff -u loncom/homework/bridgetask.pm:1.128 loncom/homework/bridgetask.pm:1.129
--- loncom/homework/bridgetask.pm:1.128 Wed Mar 29 08:24:43 2006
+++ loncom/homework/bridgetask.pm Wed Mar 29 09:03:08 2006
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# definition of tags that give a structure to a document
#
-# $Id: bridgetask.pm,v 1.128 2006/03/29 13:24:43 albertel Exp $
+# $Id: bridgetask.pm,v 1.129 2006/03/29 14:03:08 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -455,11 +455,7 @@
my $files = '<ul>';
foreach my $file (@files) {
my $url="/uploaded/$domain/$user/portfolio$file";
- if (! &Apache::lonnet::stat_file($url)) {
- $file = &mt('<font color="red"> Nonexistant file:</font> <tt>[_1]</tt>',$file);
- } else {
- $file = '<tt>'.$file.'</tt>';
- }
+ $file = '<tt>'.$file.'</tt>';
$files .= '<li>'.$file.'</li>';
}
$files.='</ul>';