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

www lon-capa-cvs@mail.lon-capa.org
Fri, 18 Jun 2004 01:27:04 -0000


www		Thu Jun 17 21:27:04 2004 EDT

  Modified files:              
    /loncom/interface	lonindexer.pm 
  Log:
  Removing unused (and weird) code.
  
  
Index: loncom/interface/lonindexer.pm
diff -u loncom/interface/lonindexer.pm:1.115 loncom/interface/lonindexer.pm:1.116
--- loncom/interface/lonindexer.pm:1.115	Thu Jun 17 21:09:24 2004
+++ loncom/interface/lonindexer.pm	Thu Jun 17 21:27:04 2004
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Directory Indexer
 #
-# $Id: lonindexer.pm,v 1.115 2004/06/18 01:09:24 www Exp $
+# $Id: lonindexer.pm,v 1.116 2004/06/18 01:27:04 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -880,13 +880,6 @@
 	my $iconname = &Apache::loncommon::icon($listname);
 	$r->print("<tr valign='$valign' bgcolor=$fileclr><td nowrap='1' align='top'>");
 	
-	my $metafile = $Apache::lonnet::perlvar{'lonDocRoot'}.$pathprefix.
-	    $filecom[0].'.meta';
-	if (-e $metafile) {
-	    $metafile=1;
-	} else {
-	    $metafile=0;
-	}
         if ($ENV{'form.catalogmode'} eq 'interactive') {
             $r->print("<a href=\"javascript:select_data(\'",
                       $filelink,"')\">");