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

albertel lon-capa-cvs@mail.lon-capa.org
Thu, 11 May 2006 23:51:39 -0000


albertel		Thu May 11 19:51:39 2006 EDT

  Modified files:              
    /loncom/interface	lonnavmaps.pm 
  Log:
  - reverting fix, will make the map_ elements be fully versioned like src_ is
  
  
Index: loncom/interface/lonnavmaps.pm
diff -u loncom/interface/lonnavmaps.pm:1.380 loncom/interface/lonnavmaps.pm:1.381
--- loncom/interface/lonnavmaps.pm:1.380	Thu May 11 17:54:06 2006
+++ loncom/interface/lonnavmaps.pm	Thu May 11 19:51:36 2006
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Navigate Maps Handler
 #
-# $Id: lonnavmaps.pm,v 1.380 2006/05/11 21:54:06 albertel Exp $
+# $Id: lonnavmaps.pm,v 1.381 2006/05/11 23:51:36 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -3904,20 +3904,20 @@
 sub map_finish {
     my $self = shift;
     my $src = $self->src();
-    $src = &Apache::lonnet::deversion(&Apache::lonnet::clutter($src));
+    $src = &Apache::lonnet::clutter($src);
     my $res = $self->navHash("map_finish_$src", 0);
     $res = $self->{NAV_MAP}->getById($res);
     return $res;
 }
 sub map_pc {
     my $self = shift;
-    my $src = &Apache::lonnet::deversion($self->src());
+    my $src = $self->src();
     return $self->navHash("map_pc_$src", 0);
 }
 sub map_start {
     my $self = shift;
     my $src = $self->src();
-    $src = &Apache::lonnet::deversion(&Apache::lonnet::clutter($src));
+    $src = &Apache::lonnet::clutter($src);
     my $res = $self->navHash("map_start_$src", 0);
     $res = $self->{NAV_MAP}->getById($res);
     return $res;