Log Message:
-----------
Removed unused variable.
Fixed an incorrect error message.
Modified Files:
--------------
webwork-modperl/lib/WeBWorK/ContentGenerator:
Hardcopy.pm
Revision Data
-------------
Index: Hardcopy.pm
===================================================================
RCS file: /webwork/cvs/system/webwork-modperl/lib/WeBWorK/ContentGenerator/Hardcopy.pm,v
retrieving revision 1.58
retrieving revision 1.59
diff -Llib/WeBWorK/ContentGenerator/Hardcopy.pm -Llib/WeBWorK/ContentGenerator/Hardcopy.pm -u -r1.58 -r1.59
--- lib/WeBWorK/ContentGenerator/Hardcopy.pm
+++ lib/WeBWorK/ContentGenerator/Hardcopy.pm
@@ -517,7 +517,7 @@
my $r = $self->r;
my $ce = $r->ce;
- my $finalFile = "$tempDir/$fileName";
+ #my $finalFile = "$tempDir/$fileName";
# Location for hardcopy file to be downloaded
# FIXME this should use surePathToTmpFile
@@ -607,7 +607,7 @@
}
- -e $hardcopyFilePath or die "Failed to create $finalFile for no apparent reason.\n";
+ -e $hardcopyFilePath or die "Failed to create $hardcopyFilePath for no apparent reason.\n";
# return hardcopyFilePath;
return $hardcopyFileURL;
}
|