]> wagnertech.de Git - mfinanz.git/blobdiff - SL/DB/Order.pm
Überflüssige Funktion
[mfinanz.git] / SL / DB / Order.pm
index 573e4f5c5cbc67a8f34b9b8f4c092b5208598b3e..1be7b22bfefae0699521a3f1fe15a63c2f0a43dd 100644 (file)
@@ -86,18 +86,6 @@ sub end_invoice {
   return shift()->invoices(query => [ abschlag => 0 ]);
 }
 
-sub convert_to {
-  my ($self, %params) = @_;
-
-  my $destination_type = lc(delete $params{destination_type});
-
-  if ($destination_type eq 'invoice') {
-    $self->convert_to_invoice(%params);
-  } else {
-    croak("Unsupported destination type `$destination_type'");
-  }
-}
-
 sub convert_to_invoice {
   my ($self, %params) = @_;