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

banghart lon-capa-cvs@mail.lon-capa.org
Tue, 08 Aug 2006 21:32:36 -0000


banghart		Tue Aug  8 17:32:36 2006 EDT

  Modified files:              
    /loncom/interface	lonmeta.pm 
  Log:
  	remove  stupid redunduncy (sic)
  
  
Index: loncom/interface/lonmeta.pm
diff -u loncom/interface/lonmeta.pm:1.165 loncom/interface/lonmeta.pm:1.166
--- loncom/interface/lonmeta.pm:1.165	Tue Aug  8 15:35:53 2006
+++ loncom/interface/lonmeta.pm	Tue Aug  8 17:32:36 2006
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Metadata display handler
 #
-# $Id: lonmeta.pm,v 1.165 2006/08/08 19:35:53 banghart Exp $
+# $Id: lonmeta.pm,v 1.166 2006/08/08 21:32:36 banghart Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -287,8 +287,7 @@
     if ($group) {
 	$start = "groups/$group/".$start;
     }
-    my %anchor_fields;
-    %anchor_fields = (
+    my %anchor_fields = (
         'selectfile'  => $start,
         'currentpath' => '/'
     );
@@ -299,8 +298,7 @@
     foreach my $dir (@tree) {
 	$fullpath .= $dir.'/';
 	$result .= '/';
-	my %anchor_fields = ();
-	%anchor_fields = (
+	my %anchor_fields = (
             'selectfile'  => $dir,
             'currentpath' => $fullpath
         );