From 187095913ed459f19363ede1c46a1de91f60e8c8 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Tue, 31 Jan 2017 11:18:28 +0100 Subject: [PATCH] =?utf8?q?Konto=20l=C3=B6schen:=20keine=20Updates=20auf=20?= =?utf8?q?parts=20mehr=20n=C3=B6tig?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Die Konten-Spalten, die es in parts gab, gibt es schlicht nicht mehr. --- SL/AM.pm | 9 --------- 1 file changed, 9 deletions(-) diff --git a/SL/AM.pm b/SL/AM.pm index e0caa823e..7818fb18e 100644 --- a/SL/AM.pm +++ b/SL/AM.pm @@ -391,15 +391,6 @@ sub _delete_account { return; } - # set inventory_accno_id, income_accno_id, expense_accno_id to defaults - foreach my $type (qw(inventory income expense)) { - $query = - qq|UPDATE parts | . - qq|SET ${type}_accno_id = (SELECT ${type}_accno_id FROM defaults) | . - qq|WHERE ${type}_accno_id = ?|; - do_query($form, $dbh, $query, $form->{id}); - } - $query = qq|DELETE FROM tax WHERE chart_id = ?|; do_query($form, $dbh, $query, $form->{id}); -- 2.20.1