--- loncom/interface/spreadsheet/classcalc.pm 2003/12/05 22:24:20 1.10.2.1 +++ loncom/interface/spreadsheet/classcalc.pm 2003/09/05 01:06:45 1.11 @@ -1,5 +1,5 @@ # -# $Id: classcalc.pm,v 1.10.2.1 2003/12/05 22:24:20 matthew Exp $ +# $Id: classcalc.pm,v 1.11 2003/09/05 01:06:45 matthew Exp $ # # Copyright Michigan State University Board of Trustees # @@ -46,6 +46,8 @@ classcalc package Apache::classcalc; use strict; +use warnings FATAL=>'all'; +no warnings 'uninitialized'; use Apache::Constants qw(:common :http); use Apache::loncoursedata(); use Apache::lonhtmlcommon(); @@ -109,10 +111,6 @@ sub parent_link { sub outsheet_html { my $self = shift; my ($r) = @_; - #################################### - # Report any calculation errors # - #################################### - $r->print($self->html_report_error()); ################################### # Determine table structure ################################### @@ -275,10 +273,6 @@ sub compute { my $studentsheet = Apache::studentcalc->new ($student->{'username'},$student->{'domain'},undef); my @exportdata = $studentsheet->export_data(); - if ($studentsheet->badcalc()) { - $self->set_calcerror($sname.' : '. - $studentsheet->calcerror()); - } my $rownum = $self->get_row_number_from_key($sname); $f{'A'.$rownum} = $sname; $self->{'row_source'}->{$rownum} = $sname;