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

lueken lueken@source.lon-capa.org
Thu, 16 Apr 2009 21:19:56 -0000


lueken		Thu Apr 16 21:19:56 2009 EDT

  Modified files:              
    /loncom/interface	lonwhatsnew.pm 
  Log:
  Little change for more speed
  
Index: loncom/interface/lonwhatsnew.pm
diff -u loncom/interface/lonwhatsnew.pm:1.90 loncom/interface/lonwhatsnew.pm:1.91
--- loncom/interface/lonwhatsnew.pm:1.90	Tue Feb 24 16:16:35 2009
+++ loncom/interface/lonwhatsnew.pm	Thu Apr 16 21:19:56 2009
@@ -1,5 +1,5 @@
 #
-# $Id: lonwhatsnew.pm,v 1.90 2009/02/24 16:16:35 hauer Exp $
+# $Id: lonwhatsnew.pm,v 1.91 2009/04/16 21:19:56 lueken Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1161,9 +1161,9 @@
         if (($fromcid) && ($fromcid eq $env{'request.course.id'})) {
             if (defined($sendtime) && $sendtime!~/error/) {
                 my $numsendtime = $sendtime;
-                $sendtime = &Apache::lonlocal::locallocaltime($sendtime);
                 if ($status eq 'new') {
-                    $msgcount ++;
+                $sendtime = &Apache::lonlocal::locallocaltime($sendtime);
+		    $msgcount ++;
                     if ($shortsubj eq '') {
                         $shortsubj = &mt('No subject');
                     }