--- loncom/homework/bridgetask.pm 2005/08/15 19:36:21 1.40 +++ loncom/homework/bridgetask.pm 2005/08/15 19:41:43 1.42 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # definition of tags that give a structure to a document # -# $Id: bridgetask.pm,v 1.40 2005/08/15 19:36:21 albertel Exp $ +# $Id: bridgetask.pm,v 1.42 2005/08/15 19:41:43 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -148,8 +148,6 @@ sub add_grading_button { &mt("Get a submission to grade").'" />'; $result.=''; if (&Apache::lonnet::allowed('mgq',$env{'request.course.id'})) { - # FIXME need a permission for limiting this to 'powerful users' - my ($entries,$ready,$locks)=&get_queue_counts('gradingqueue'); $result.='

'.&mt("Grading Queue has [_1] entries. [_2] of them are ready to be graded and [_3] of them are currently being graded",$entries,$ready,$locks); @@ -285,14 +283,7 @@ sub start_Task { } } elsif ($target eq 'grade' && !$env{'form.webgrade'}) { if ($status eq 'NEEDS_CHECKIN') { - if (&proctor_check_auth($slot_name,$slot)) { - # FIXME immeadiatly add this to the grading queue - # with slot->{'endtime'} for when grading can - # begin on this resource - # FIXME I think the above is done by default, - # need to check that - # failure doesn't do this. - } + &proctor_check_auth($slot_name,$slot); } } } elsif ($target eq 'web') {