From: Jan Büren Date: Thu, 29 Nov 2018 10:15:30 +0000 (+0100) Subject: toten Code entfernt X-Git-Tag: release-3.5.4~202 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=a9903fd72fc5a09d99eb60707dfd3aadcabfe73f;p=kivitendo-erp.git toten Code entfernt --- diff --git a/SL/DO.pm b/SL/DO.pm index 70fa87641..1f431ce2d 100644 --- a/SL/DO.pm +++ b/SL/DO.pm @@ -1073,21 +1073,6 @@ sub order_details { $main::lxdebug->leave_sub(); } -sub project_description { - $main::lxdebug->enter_sub(); - - my ($self, $dbh, $id) = @_; - - my $form = $main::form; - - my $query = qq|SELECT description FROM project WHERE id = ?|; - my ($value) = selectrow_query($form, $dbh, $query, $id); - - $main::lxdebug->leave_sub(); - - return $value; -} - sub unpack_stock_information { $main::lxdebug->enter_sub(); diff --git a/SL/IS.pm b/SL/IS.pm index dc3604d26..97e724811 100644 --- a/SL/IS.pm +++ b/SL/IS.pm @@ -562,20 +562,6 @@ sub invoice_details { $main::lxdebug->leave_sub(); } -sub project_description { - $main::lxdebug->enter_sub(); - - my ($self, $dbh, $id) = @_; - my $form = \%main::form; - - my $query = qq|SELECT description FROM project WHERE id = ?|; - my ($description) = selectrow_query($form, $dbh, $query, conv_i($id)); - - $main::lxdebug->leave_sub(); - - return $_; -} - sub customer_details { $main::lxdebug->enter_sub(); diff --git a/SL/OE.pm b/SL/OE.pm index a2dea99ec..3954a9308 100644 --- a/SL/OE.pm +++ b/SL/OE.pm @@ -1616,19 +1616,6 @@ sub order_details { $main::lxdebug->leave_sub(); } -sub project_description { - $main::lxdebug->enter_sub(); - - my ($self, $dbh, $id) = @_; - - my $query = qq|SELECT description FROM project WHERE id = ?|; - my ($value) = selectrow_query($main::form, $dbh, $query, $id); - - $main::lxdebug->leave_sub(); - - return $value; -} - 1; __END__