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

matthew lon-capa-cvs@mail.lon-capa.org
Sun, 01 Aug 2004 19:36:33 -0000


matthew		Sun Aug  1 15:36:33 2004 EDT

  Modified files:              
    /loncom/interface	lonindexer.pm 
  Log:
  - remove log spew
  
  
Index: loncom/interface/lonindexer.pm
diff -u loncom/interface/lonindexer.pm:1.121 loncom/interface/lonindexer.pm:1.122
--- loncom/interface/lonindexer.pm:1.121	Mon Jul 26 18:38:16 2004
+++ loncom/interface/lonindexer.pm	Sun Aug  1 15:36:33 2004
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Directory Indexer
 #
-# $Id: lonindexer.pm,v 1.121 2004/07/26 22:38:16 albertel Exp $
+# $Id: lonindexer.pm,v 1.122 2004/08/01 19:36:33 matthew Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -668,7 +668,6 @@
 
     if (defined($hash{'dirlist_files_'.$luri}) &&
 	$hash{'dirlist_timestamp_files_'.$luri}+600 > (time)) {
-	&Apache::lonnet::logthis("using old n:".time." s:".$hash{'dirlist_timestamp_files_'.$luri});
 	@list = split(/\n/,$hash{'dirlist_files_'.$luri});
     } elsif ($uri=~/\.(page|sequence)\/$/) {
 # is a page or a sequence
@@ -682,7 +681,6 @@
 	$hash{'dirlist_files_'.$luri} = join("\n",@list);
     } else {
 # is really a directory
-	&Apache::lonnet::logthis("getting fresh n:".time." s:".$hash{'dirlist_timestamp_files_'.$luri});
 	@list = &Apache::lonnet::dirlist($uri);
 	$hash{'dirlist_files_'.$luri} = join("\n",@list);
 	$hash{'dirlist_timestamp_files_'.$luri} = time;