From 304c52f63877eb3192621016a9615fb8b0f49e97 Mon Sep 17 00:00:00 2001 From: einhverfr Date: Mon, 22 Jan 2007 20:52:36 +0000 Subject: Removing some old DB2 code. git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@772 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 dce093c3..65923296 100755 --- a/LedgerSMB/Form.pm +++ b/LedgerSMB/Form.pm @@ -2234,11 +2234,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