realtimenetprots/sipfw/ProfileAgent/Server/Src/SipProfileServerCore.cpp
branchRCL_3
changeset 44 0dcb073356a5
parent 43 b5e99d8877c7
child 46 346e49b9ce14
--- a/realtimenetprots/sipfw/ProfileAgent/Server/Src/SipProfileServerCore.cpp	Tue Aug 31 15:32:57 2010 +0300
+++ b/realtimenetprots/sipfw/ProfileAgent/Server/Src/SipProfileServerCore.cpp	Wed Sep 01 12:27:36 2010 +0100
@@ -396,14 +396,7 @@
     	{
     	return EFalse;
     	}
-    
-      if((aError != KErrNone) && item->HasQueuedUpdate())
-        {
-        PROFILE_DEBUG4("ProfileServerCore::ProceedRegistration HasQueuedUpdate, err",
-			item->HasQueuedUpdate(), aError)
-        return EFalse;
-        }
-    
+
     if ( ShouldChangeIap(item->UsedProfile(), aError) && 
     	 !item->SnapRetryCountReached() )
         {
@@ -1553,7 +1546,6 @@
     if (index != KErrNotFound)
         {
         iObservers.Remove(index);
-        iObservers.Compress();
         }
 
     for (TInt i = 0; i < iProfileCache.Count(); i ++)
@@ -1934,7 +1926,6 @@
     if (index >= 0)
     	{
     	iProfileCache.Remove(index);
-    	iProfileCache.Compress();
     	}
 	}
 
@@ -1951,9 +1942,7 @@
 			{
 			CSipAlrMigrationController* unused = iMigrationControllers[i];
 			iMigrationControllers.Remove(i);
-			iMigrationControllers.Compress();
 			delete unused;
-			unused = NULL;
 			}
 		}
 	}