X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/379aa61a9855bd34637fd438cb2e2f2247129b68..d18a84dfd90b91c60093c77bbc5900408e0c5697:/SL/IR.pm diff --git a/SL/IR.pm b/SL/IR.pm index 553e7828f..885fb9e91 100644 --- a/SL/IR.pm +++ b/SL/IR.pm @@ -1425,23 +1425,4 @@ sub post_payment { return $rc; } -sub has_storno { - $main::lxdebug->enter_sub(); - - my ($self, $myconfig, $form) = @_; - - $main::lxdebug->leave_sub() and return 0 unless ($form->{id}); - - my $dbh = $form->dbconnect($myconfig); - - my $query = qq|SELECT storno FROM ap WHERE id = ?|; - my ($result) = selectrow_query($form, $dbh, $query, $form->{id}); - - $dbh->disconnect(); - - $main::lxdebug->leave_sub(); - - return $result; -} - 1;