Author: chrisg Date: Wed Aug 20 14:02:23 2014 New Revision: 1619104 URL: http://svn.apache.org/r1619104 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/release11.04/ (props changed) ofbiz/branches/release11.04/framework/entityext/src/org/ofbiz/entityext/synchronization/EntitySyncServices.java Propchange: ofbiz/branches/release11.04/ ------------------------------------------------------------------------------ Merged /ofbiz/trunk:r1619098 Modified: ofbiz/branches/release11.04/framework/entityext/src/org/ofbiz/entityext/synchronization/EntitySyncServices.java URL: http://svn.apache.org/viewvc/ofbiz/branches/release11.04/framework/entityext/src/org/ofbiz/entityext/synchronization/EntitySyncServices.java?rev=1619104&r1=1619103&r2=1619104&view=diff ============================================================================== --- ofbiz/branches/release11.04/framework/entityext/src/org/ofbiz/entityext/synchronization/EntitySyncServices.java (original) +++ ofbiz/branches/release11.04/framework/entityext/src/org/ofbiz/entityext/synchronization/EntitySyncServices.java Wed Aug 20 14:02:23 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());