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

taceyjo1 lon-capa-cvs@mail.lon-capa.org
Thu, 05 Feb 2004 03:47:04 -0000


taceyjo1		Wed Feb  4 22:47:04 2004 EDT

  Modified files:              
    /loncom/interface	lonindexer.pm 
  Log:
  Whoops, cleanup 
  
  
Index: loncom/interface/lonindexer.pm
diff -u loncom/interface/lonindexer.pm:1.90 loncom/interface/lonindexer.pm:1.91
--- loncom/interface/lonindexer.pm:1.90	Wed Feb  4 22:42:52 2004
+++ loncom/interface/lonindexer.pm	Wed Feb  4 22:47:04 2004
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Directory Indexer
 #
-# $Id: lonindexer.pm,v 1.90 2004/02/05 03:42:52 taceyjo1 Exp $
+# $Id: lonindexer.pm,v 1.91 2004/02/05 03:47:04 taceyjo1 Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -164,7 +164,7 @@
 	#       selection is made.
 	# $element is the name of the element in $formname which receives
 	#       the URL.
-	&Apache::lonxml::debug('Checking mode, form, element');
+	#&Apache::lonxml::debug('Checking mode, form, element');
 	&setvalues(\%hash,'form.mode'        ,\%ENV,'form.mode'   );
 	&setvalues(\%hash,'form.form'        ,\%ENV,'form.form'   );
 	&setvalues(\%hash,'form.element'     ,\%ENV,'form.element');
@@ -622,8 +622,7 @@
 	@list = &Apache::lonnet::dirlist($uri);
 	$hash{'dirlist_files_'.$luri} = join("\n",@list);
     }
-    @list=&match_ext($r,@list);
-    return @list;
+    return @list=&match_ext($r,@list);
 }
 
 sub initdebug {