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

matthew lon-capa-cvs@mail.lon-capa.org
Mon, 08 Mar 2004 19:41:28 -0000


matthew		Mon Mar  8 14:41:28 2004 EDT

  Modified files:              
    /loncom/interface	lonnavmaps.pm 
  Log:
  Changed "dueInLessThen24Hours" to "dueInLessThan24Hours".  Grrrrr.
  
  
Index: loncom/interface/lonnavmaps.pm
diff -u loncom/interface/lonnavmaps.pm:1.251 loncom/interface/lonnavmaps.pm:1.252
--- loncom/interface/lonnavmaps.pm:1.251	Mon Mar  8 12:31:37 2004
+++ loncom/interface/lonnavmaps.pm	Mon Mar  8 14:41:28 2004
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Navigate Maps Handler
 #
-# $Id: lonnavmaps.pm,v 1.251 2004/03/08 17:31:37 www Exp $
+# $Id: lonnavmaps.pm,v 1.252 2004/03/08 19:41:28 matthew Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -381,7 +381,7 @@
 # Convenience function, so others can use it: Is the problem due in less then
 # 24 hours, and still can be done?
 
-sub dueInLessThen24Hours {
+sub dueInLessThan24Hours {
     my $res = shift;
     my $part = shift;
     my $status = $res->status($part);
@@ -1064,7 +1064,7 @@
     if ($resource->is_problem()) {
         $color = $colormap{$resource->status};
         
-        if (dueInLessThen24Hours($resource, $part) ||
+        if (dueInLessThan24Hours($resource, $part) ||
             lastTry($resource, $part)) {
             $color = $hurryUpColor;
         }