From a9903fd72fc5a09d99eb60707dfd3aadcabfe73f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20B=C3=BCren?= Date: Thu, 29 Nov 2018 11:15:30 +0100 Subject: [PATCH] toten Code entfernt --- SL/DO.pm | 15 --------------- SL/IS.pm | 14 -------------- SL/OE.pm | 13 ------------- 3 files changed, 42 deletions(-) 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__ -- 2.20.1