better error handling when sending a spool by email, #17620
[freeside.git] / FS / FS / Misc.pm
index 2be9ec2..096ec8a 100644 (file)
@@ -274,6 +274,7 @@ sub send_email {
     });
     $cust_msg->insert; # ignore errors
   }
+  $error;
    
 }
 
@@ -799,7 +800,7 @@ sub _pslatex {
 
 }
 
-=item print ARRAYREF
+=item do_print ARRAYREF
 
 Sends the lines in ARRAYREF to the printer.
 
@@ -913,16 +914,6 @@ sub ocr_image {
   @lines;
 }
 
-=item spool_formats
-  
-Returns a list of the invoice spool formats.
-
-=cut
-
-sub spool_formats {
-  qw(default oneline billco bridgestone)
-}
-
 =back
 
 =head1 BUGS