From a040e91fba51d85031b0b388ec3965da24f2dc31 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Wed, 12 Jan 2011 16:25:48 +0100 Subject: [PATCH] =?utf8?q?=C3=9Cberfl=C3=BCssige=20Funktion?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Conflicts: SL/DB/Order.pm --- SL/DB/Order.pm | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/SL/DB/Order.pm b/SL/DB/Order.pm index 573e4f5c5..1be7b22bf 100644 --- a/SL/DB/Order.pm +++ b/SL/DB/Order.pm @@ -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) = @_; -- 2.20.1