--- a/realtimenetprots/sipfw/ProfileAgent/Server/Src/SipProfileCacheItem.cpp Wed Sep 15 12:36:02 2010 +0300
+++ b/realtimenetprots/sipfw/ProfileAgent/Server/Src/SipProfileCacheItem.cpp Wed Oct 13 14:57:13 2010 +0300
@@ -366,7 +366,6 @@
if (index != KErrNotFound)
{
iObservers.Remove(index);
- iObservers.Compress();
}
RemoveFromPendingObservers(aObserver);
@@ -403,7 +402,6 @@
if (index != KErrNotFound)
{
iUsers.Remove(index);
- iUsers.Compress();
CheckProfileEnabledState();
}
}
@@ -971,12 +969,9 @@
StopSnapMonitoring();
}
- if (!iMigrationController)
+ if (!iMigrationController)
{
- TUint32 bearerId = BearerID();
- TSipSNAPConfigurationData aSnapData(aSnapId,bearerId);
- iMigrationController = &iServerCore.MigrationControllerL(aSnapData);
- PROFILE_DEBUG3("ProfileCacheItem::BearerFilter value is", bearerId)
+ iMigrationController = &iServerCore.MigrationControllerL(aSnapId);
TUint32 iapId = iMigrationController->AttachProfileL(*this);
if (iapId)
{
@@ -1258,7 +1253,6 @@
if (index != KErrNotFound)
{
iObserversWaitedForPermission.Remove(index);
- iObserversWaitedForPermission.Compress();
}
}
@@ -1409,24 +1403,3 @@
return iIsOfflineInitiated;
}
-// -----------------------------------------------------------------------------
-// CSIPProfileCacheItem::BearerID
-// This function will return the Bearer ID of the Profile.
-// -----------------------------------------------------------------------------
-//
-TUint32 CSIPProfileCacheItem::BearerID()
-{ TUint32 bearerId(0);
- LatestProfile().ExtensionParameter(KBearerType , bearerId);
- return bearerId;
-}
-
-// -----------------------------------------------------------------------------
-// CSIPProfileCacheItem::HasQueuedUpdate
-// This function will return true if profile updated and not yet processed
-// false otherwise
-// -----------------------------------------------------------------------------
-//
-TBool CSIPProfileCacheItem::HasQueuedUpdate() const
- {
- return (iQueuedProfile != NULL);
- }