From 30aa61745051640b657128b3f47da129b9994cfb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bernd=20Ble=C3=9Fmann?= Date: Tue, 20 Jan 2015 11:30:04 +0100 Subject: [PATCH] =?utf8?q?Angebot/Auftrag:=20Unn=C3=B6tiges=20L=C3=B6schen?= =?utf8?q?=20der=20CVars=20entfernt.=20Wird=20per=20DB-Trigger=20erledigt.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/OE.pm | 6 ------ 1 file changed, 6 deletions(-) diff --git a/SL/OE.pm b/SL/OE.pm index 58792acef..2985e89d0 100644 --- a/SL/OE.pm +++ b/SL/OE.pm @@ -381,12 +381,6 @@ sub save { $form->{$number_field} ||= $trans_number->create_unique; if ($form->{id}) { - $query = qq|DELETE FROM custom_variables - WHERE (config_id IN (SELECT id FROM custom_variable_configs WHERE module = 'IC')) - AND (sub_module = 'orderitems') - AND (trans_id IN (SELECT id FROM orderitems WHERE trans_id = ?))|; - do_query($form, $dbh, $query, $form->{id}); - $query = qq|DELETE FROM shipto | . qq|WHERE trans_id = ? AND module = 'OE'|; do_query($form, $dbh, $query, $form->{id}); -- 2.20.1