X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/8c1d5d7530f3a1c923ee470b7ff31616800a8574..4f43ec85816b8f5c9031ff35adfa9e0d33c4306f:/SL/AP.pm diff --git a/SL/AP.pm b/SL/AP.pm index 7db5649f6..08dd54224 100644 --- a/SL/AP.pm +++ b/SL/AP.pm @@ -811,8 +811,6 @@ sub storno { $query = qq|UPDATE ap SET paid = amount + paid, storno = 't' WHERE id = ?|; do_query($form, $dbh, $query, $id); - $form->new_lastmtime('ap') if $id == $form->{id}; - # now copy acc_trans entries $query = qq|SELECT a.*, c.link FROM acc_trans a LEFT JOIN chart c ON a.chart_id = c.id WHERE a.trans_id = ? ORDER BY a.acc_trans_id|; my $rowref = selectall_hashref_query($form, $dbh, $query, $id); @@ -832,8 +830,6 @@ sub storno { map { IO->set_datepaid(table => 'ap', id => $_, dbh => $dbh) } ($id, $new_id); - $form->new_lastmtime('ap') if $storno_id == $form->{id}; - $dbh->commit; $main::lxdebug->leave_sub();