diff -r 10e98eab6f85 -r a359256acfc6 browserutilities/feedsengine/FeedsServer/Server/src/UpdateManager.cpp --- a/browserutilities/feedsengine/FeedsServer/Server/src/UpdateManager.cpp Fri Jul 03 15:54:40 2009 +0100 +++ b/browserutilities/feedsengine/FeedsServer/Server/src/UpdateManager.cpp Thu Aug 27 07:44:59 2009 +0300 @@ -56,6 +56,7 @@ iHttpConnection = CServerHttpConnection::NewL( aAutoUpdateAP ); iRoamingInfo = CRoamingInfo::NewL(this); iAutoUpdateAp = aAutoUpdateAP; + iLastAutoUpdate.HomeTime(); } // ----------------------------------------------------------------------------- @@ -121,6 +122,20 @@ // ----------------------------------------------------------------------------- void CUpdateManager::RunL() { + TTime currentTime; + currentTime.HomeTime(); + TTimeIntervalMinutes diff; + currentTime.MinutesFrom(iLastAutoUpdate,diff); + + if (diff.Int() < 0) + { + for(TInt i =0 ; i < iQueueArray.Count(); i++) + { + iQueueArray[i]->ResetTimers(); + } + } + iLastAutoUpdate.HomeTime(); + if (iStatus.Int() == KErrNone || iStatus.Int() == KErrAbort) { StartTimer();