Author: chrisg
Date: Wed Aug 20 13:59:50 2014
New Revision: 1619103

URL: http://svn.apache.org/r1619103
Log:
Applied fix from trunk for revision: 1619098 
===

OFBIZ-5514 correct calculation of seconds (instead of minutes) in 
EntitySyncServices.cleanSyncRemoveInfo(). Thanks to Roberto Benítez Monje for 
reporting


Modified:
    ofbiz/branches/release12.04/   (props changed)
    
ofbiz/branches/release12.04/framework/entityext/src/org/ofbiz/entityext/synchronization/EntitySyncServices.java

Propchange: ofbiz/branches/release12.04/
------------------------------------------------------------------------------
  Merged /ofbiz/trunk:r1619098

Modified: 
ofbiz/branches/release12.04/framework/entityext/src/org/ofbiz/entityext/synchronization/EntitySyncServices.java
URL: 
http://svn.apache.org/viewvc/ofbiz/branches/release12.04/framework/entityext/src/org/ofbiz/entityext/synchronization/EntitySyncServices.java?rev=1619103&r1=1619102&r2=1619103&view=diff
==============================================================================
--- 
ofbiz/branches/release12.04/framework/entityext/src/org/ofbiz/entityext/synchronization/EntitySyncServices.java
 (original)
+++ 
ofbiz/branches/release12.04/framework/entityext/src/org/ofbiz/entityext/synchronization/EntitySyncServices.java
 Wed Aug 20 13:59:50 2014
@@ -609,7 +609,7 @@ public class EntitySyncServices {
             }
 
 
-            int keepSeconds = (int) Math.floor(keepRemoveInfoHours * 60);
+            int keepSeconds = (int) Math.floor(keepRemoveInfoHours * 3600);
 
             Calendar nowCal = Calendar.getInstance();
             nowCal.setTimeInMillis(System.currentTimeMillis());


Reply via email to