version 1.48, 2006/02/26 19:40:14
|
version 1.48.2.1, 2006/03/21 16:05:57
|
Line 551 sub allowed_slot {
|
Line 551 sub allowed_slot {
|
&& $slot->{'symb'} ne $symb) { |
&& $slot->{'symb'} ne $symb) { |
return 0; |
return 0; |
} |
} |
|
# reserve time not yet started |
|
if ($slot->{'startreserve'} > time) { |
|
return 0; |
|
} |
|
&Apache::lonxml::debug("$slot_name reserve good"); |
|
|
my $conflict = &check_for_conflict($symb,$slot_name,$slot,$slots, |
my $conflict = &check_for_conflict($symb,$slot_name,$slot,$slots, |
$consumed_uniqueperiods); |
$consumed_uniqueperiods); |
if ($conflict) { |
if ($conflict) { |