diff options
author | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-01-22 20:52:36 +0000 |
---|---|---|
committer | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-01-22 20:52:36 +0000 |
commit | 304c52f63877eb3192621016a9615fb8b0f49e97 (patch) | |
tree | 7dc1b601c33ee10988523835d233c563a9e8587c /LedgerSMB | |
parent | 48ac0e06f3a7f78d158130eb1a49f74f0fbc26a8 (diff) |
Removing some old DB2 code.
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@772 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'LedgerSMB')
-rwxr-xr-x | LedgerSMB/Form.pm | 4 |
1 files changed, 1 insertions, 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 |