Diff for /loncom/interface/lonmainmenu.pm between versions 1.10.2.1 and 1.10.2.2

version 1.10.2.1, 2013/04/17 01:30:15 version 1.10.2.2, 2014/05/22 12:47:27
Line 35 Line 35
 package Apache::lonmainmenu;  package Apache::lonmainmenu;
   
 use strict;  use strict;
 use Apache::Constants qw(:common);  use Apache::Constants qw(:common REDIRECT);
 use Apache::loncommon();  use Apache::loncommon();
 use Apache::lonnet;  use Apache::lonnet;
 use Apache::lonmenu();  use Apache::lonmenu();
   
 sub handler {  sub handler {
     my $r = shift;      my $r = shift;
   
       # Check for critical messages and redirect if present.
       my ($redirect,$url) = &Apache::loncommon::critical_redirect(300);
       if ($redirect) {
           &Apache::loncommon::content_type($r,'text/html');
           $r->header_out(Location => $url);
           return REDIRECT;
       }
   
     &Apache::loncommon::no_cache($r);      &Apache::loncommon::no_cache($r);
     &Apache::loncommon::content_type($r,'text/html');      &Apache::loncommon::content_type($r,'text/html');
     $r->send_http_header;      $r->send_http_header;

Removed from v.1.10.2.1  
changed lines
  Added in v.1.10.2.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>