--- loncom/interface/printout.pl 2006/12/18 11:34:55 1.117
+++ loncom/interface/printout.pl 2009/11/17 01:21:08 1.137.2.1
@@ -1,6 +1,7 @@
#!/usr/bin/perl
# CGI-script to run LaTeX, dvips, ps2ps, ps2pdf etc.
#
+# $Id: printout.pl,v 1.137.2.1 2009/11/17 01:21:08 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -38,9 +39,16 @@ use Apache::loncommon();
use Apache::lonlocal;
use Apache::lonmsg();
use LONCAPA::Enrollment;
+use LONCAPA::Configuration;
use strict;
+my $busy_wait_timeout = 30;
+
+sub debug {
+ my ($text) = @_;
+ print "$text
\n";
+}
# Determine if a user is operating as a student for this course/domain.
#Parameters:
@@ -127,8 +135,8 @@ sub send_error_mail {
foreach my $line (@$texfile) {
$message .= "$line\n";
}
- my (undef, %receivers) = &Apache::lonfeedback::decide_receiver(undef, 0,
- 1,1,1);
+ my (undef, %receivers) = &Apache::lonmsg::decide_receiver(undef, 0,
+ 1,1,1);
# print "
sending...section: $env{'request.course.sec'}";
foreach my $dest (keys %receivers) {
# print "
dest is $dest";
@@ -158,171 +166,132 @@ Your cookie information is incorrect.