summaryrefslogtreecommitdiff
path: root/LedgerSMB
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-01-22 20:51:34 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-01-22 20:51:34 +0000
commit90f4cccb76c9507da891f2c5dd7ab6ddaa4270c6 (patch)
treeb821429c6424a2abff46a21fb40961e875607998 /LedgerSMB
parentd753f1cac29337e5d40b0326ace919b2a1510130 (diff)
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
Diffstat (limited to 'LedgerSMB')
-rwxr-xr-xLedgerSMB/Form.pm4
1 files changed, 1 insertions, 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