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

albertel lon-capa-cvs@mail.lon-capa.org
Fri, 23 Sep 2005 22:18:28 -0000


albertel		Fri Sep 23 18:18:28 2005 EDT

  Modified files:              
    /loncom/interface	lonnavmaps.pm 
  Log:
  - elminate some dead code
  
  
Index: loncom/interface/lonnavmaps.pm
diff -u loncom/interface/lonnavmaps.pm:1.338 loncom/interface/lonnavmaps.pm:1.339
--- loncom/interface/lonnavmaps.pm:1.338	Fri Sep 23 17:30:25 2005
+++ loncom/interface/lonnavmaps.pm	Fri Sep 23 18:18:26 2005
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Navigate Maps Handler
 #
-# $Id: lonnavmaps.pm,v 1.338 2005/09/23 21:30:25 albertel Exp $
+# $Id: lonnavmaps.pm,v 1.339 2005/09/23 22:18:26 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1401,7 +1401,6 @@
         # no columns, no nav maps.
         return '';
     }
-    my $mustCloseNavMap = 0;
     my $navmap;
     if (defined($args->{'navmap'})) {
         $navmap = $args->{'navmap'};
@@ -1450,7 +1449,6 @@
         # Step 1: Check to see if we have a navmap
         if (!defined($navmap)) {
             $navmap = Apache::lonnavmaps::navmap->new();
-            $mustCloseNavMap = 1;
         }
 
         # Step two: Locate what kind of here marker is necessary
@@ -1515,7 +1513,6 @@
         # Step 1: Check to see if we have a navmap
         if (!defined($navmap)) {
             $navmap = Apache::lonnavmaps::navmap->new();
-            $mustCloseNavMap = 1;
         }
 
         # See if we're being passed a specific map