From 5b2980ad49f1937786d25f10fa9dac43cf255eb0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Fri, 24 Jul 2009 12:01:25 +0200 Subject: [PATCH] Oracle Support entfernt. --- SL/IC.pm | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/SL/IC.pm b/SL/IC.pm index 8c2242d48..aaae3491f 100644 --- a/SL/IC.pm +++ b/SL/IC.pm @@ -70,9 +70,6 @@ sub get_part { $form->{onhand} *= 1; - my %oid = ('Pg' => 'a.oid', - 'Oracle' => 'a.rowid'); - # part or service item $form->{item} = ($form->{inventory_accno}) ? 'part' : 'service'; if ($form->{assembly}) { @@ -88,7 +85,7 @@ sub get_part { LEFT JOIN partsgroup pg ON (p.partsgroup_id = pg.id) LEFT JOIN price_factors pfac ON pfac.id = p.price_factor_id WHERE (a.id = ?) - ORDER BY $oid{$myconfig->{dbdriver}}|; + ORDER BY a.oid|; $sth = prepare_execute_query($form, $dbh, $query, conv_i($form->{id})); $form->{assembly_rows} = 0; -- 2.20.1