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

SF.net SVN: ledger-smb: [772] trunk/LedgerSMB/Form.pm



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

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

Modified Paths:
--------------
    trunk/LedgerSMB/Form.pm

Modified: trunk/LedgerSMB/Form.pm
===================================================================
--- trunk/LedgerSMB/Form.pm	2007-01-22 20:51:34 UTC (rev 771)
+++ trunk/LedgerSMB/Form.pm	2007-01-22 20:52:36 UTC (rev 772)
@@ -2234,11 +2234,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.