voipplugins/sipconnectionprovider/src/scpservicehandlerbase.cpp
branchRCL_3
changeset 14 be41ab7b952f
parent 12 876a3df1f464
child 15 43658d24f35d
--- a/voipplugins/sipconnectionprovider/src/scpservicehandlerbase.cpp	Tue Apr 27 16:28:03 2010 +0300
+++ b/voipplugins/sipconnectionprovider/src/scpservicehandlerbase.cpp	Tue May 11 16:04:22 2010 +0300
@@ -197,19 +197,9 @@
 //
 void CScpServiceHandlerBase::HandleSipProfileForcedDisable()
     {
-    SCPLOGSTRING2( "CScpServiceHandlerBase[0x%x]::HandleSipProfileForcedDisable",
-                   this );
+    SCPLOGSTRING2( 
+        "CScpServiceHandlerBase[0x%x]::HandleSipProfileForcedDisable", this );
 
-    CScpProfileHandler& profileHandler = iSubService.ProfileHandler();
-    
-    CScpSipConnection* sipConnection = 
-        profileHandler.GetSipConnection( iSubService.SipProfileId() );
-      
-    if ( sipConnection )
-        {
-        sipConnection->ForceDisable();
-        }
-    
     HandleSipConnectionEvent( iSubService.SipProfileId(), EScpDeregistered );
     }