Diff for /loncom/auth/lonroles.pm between versions 1.22 and 1.23

version 1.22, 2001/02/27 20:44:18 version 1.23, 2001/03/03 00:55:36
Line 9 Line 9
 # 12/08,12/28,  # 12/08,12/28,
 # 01/15/01 Gerd Kortemeyer  # 01/15/01 Gerd Kortemeyer
 # 02/27/01 Scott Harrison  # 02/27/01 Scott Harrison
   # 03/02 Gerd Kortemeyer
   
 package Apache::lonroles;  package Apache::lonroles;
   
Line 181  ENDHEADER Line 182  ENDHEADER
                 $tpstart=localtime($tstart);                  $tpstart=localtime($tstart);
             }              }
             if ($tend) {              if ($tend) {
                 if ($tend<$then) { $tstatus='expired'; }                  if ($tend<$then) { 
                 if ($tend<$now) { $tstatus='will_not'; }                     $tstatus='expired'; 
                   } elsif ($tend<$now) { 
                      $tstatus='will_not'; 
                   }
                 $tpend=localtime($tend);                  $tpend=localtime($tend);
             }              }
             if ($ENV{'request.role'} eq $trolecode) {              if ($ENV{'request.role'} eq $trolecode) {

Removed from v.1.22  
changed lines
  Added in v.1.23


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