From 90f4cccb76c9507da891f2c5dd7ab6ddaa4270c6 Mon Sep 17 00:00:00 2001 From: einhverfr Date: Mon, 22 Jan 2007 20:51:34 +0000 Subject: Removing some old DB2 code. git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@771 4979c152-3d1c-0410-bac9-87ea11338e46 --- LedgerSMB/Form.pm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/LedgerSMB/Form.pm b/LedgerSMB/Form.pm index 2c5d3f3b..61f0eb77 100755 --- a/LedgerSMB/Form.pm +++ b/LedgerSMB/Form.pm @@ -2240,11 +2240,9 @@ sub lastname_used { $trans_id *= 1; - my $DAYS = ($myconfig->{dbdriver} eq 'DB2') ? "DAYS" : ""; - $query = qq| SELECT ct.name AS $vc, a.curr AS currency, a.${vc}_id, - current_date + ct.terms $DAYS AS duedate, + current_date + ct.terms AS duedate, a.department_id, d.description AS department, ct.notes, ct.curr AS currency FROM $arap a -- cgit v1.2.3