Diff for /loncom/homework/lonhomework.pm between versions 1.200 and 1.201

version 1.200, 2005/03/17 21:56:04 version 1.201, 2005/03/21 18:53:51
Line 232  sub check_task_access { Line 232  sub check_task_access {
 #    }  #    }
     my $slotstatus='NOT_IN_A_SLOT';      my $slotstatus='NOT_IN_A_SLOT';
     foreach my $slot (@slots) {      foreach my $slot (@slots) {
    &Apache::lonxml::debug("getting $slot");
  my %slot=&Apache::lonnet::get_slot($slot);   my %slot=&Apache::lonnet::get_slot($slot);
    &Apache::lonhomework::showhash(%slot);
  if ($slot{'starttime'} < time &&   if ($slot{'starttime'} < time &&
     $slot{'endtime'} > time &&      $slot{'endtime'} > time &&
     &check_ip_access($slot{'ip'})) {      &check_ip_acc($slot{'ip'})) {
     $slotstatus='IN_A_SLOT';      $slotstatus='IN_A_SLOT';
     last;      last;
  }   }

Removed from v.1.200  
changed lines
  Added in v.1.201


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