[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb: [771] branches/1.2/LedgerSMB/Form.pm



Revision: 771
          http://svn.sourceforge.net/ledger-smb/?rev=771&view=rev
Author:   einhverfr
Date:     2007-01-22 12:51:34 -0800 (Mon, 22 Jan 2007)

Log Message:
-----------
Removing some old DB2 code.

Modified Paths:
--------------
    branches/1.2/LedgerSMB/Form.pm

Modified: branches/1.2/LedgerSMB/Form.pm
===================================================================
--- branches/1.2/LedgerSMB/Form.pm	2007-01-22 20:50:58 UTC (rev 770)
+++ branches/1.2/LedgerSMB/Form.pm	2007-01-22 20:51:34 UTC (rev 771)
@@ -2240,11 +2240,9 @@
 
 	$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


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.