omaprovisioning/provisioning/ProvisioningEngine/Src/CWPPushMessage.cpp
branchRCL_3
changeset 76 3cdbd92ee07b
parent 65 5cc2995847ea
--- a/omaprovisioning/provisioning/ProvisioningEngine/Src/CWPPushMessage.cpp	Wed Sep 15 13:08:27 2010 +0300
+++ b/omaprovisioning/provisioning/ProvisioningEngine/Src/CWPPushMessage.cpp	Wed Oct 13 15:30:06 2010 +0300
@@ -1047,14 +1047,6 @@
             	{
             	if( aPIN.Length() == 0 )
                 	{
-                	TInt aSetAuthValue = 1;	
-                	CRepository* repository = CRepository::NewLC( KOMAProvAuthenticationLV );	
-                	TInt err = repository->Set(KOMAProvIsUserPin, aSetAuthValue);                	
-                	if(err != KErrNone)
-                		{
-                				FLOG( _L( "[Provisioning] CWPPushMessage::AuthenticateL: set KOMAProvIsUserPin Failed" ) );
-                		}
-                	CleanupStack::PopAndDestroy(); // repository
                 	result = KWPAuthResultPinRequired;
                 	FLOG( _L( "[Provisioning] CWPPushMessage::AuthenticateL: KWPAuthResultPinRequired" ) );
                 	}
@@ -1097,14 +1089,6 @@
             	{
 	            if( aPIN.Length() == 0 )
     	            {
-    	            TInt aSetAuthValue = 1;	
-                	CRepository* repository = CRepository::NewLC( KOMAProvAuthenticationLV );	
-                	TInt err = repository->Set(KOMAProvIsUserPin, aSetAuthValue);  
-                	if(err != KErrNone)
-                		{
-                				FLOG( _L( "[Provisioning] CWPPushMessage::AuthenticateL: set KOMAProvIsUserPin Failed" ) );
-                		}              	
-                	CleanupStack::PopAndDestroy(); // repository	
         	        result = KWPAuthResultPinRequired;
         	        FLOG( _L( "[Provisioning] CWPPushMessage::AuthenticateL: KWPAuthResultPinRequired" ) );
             	    }
@@ -1128,14 +1112,6 @@
             	}
             else
             	{
-              TInt aSetAuthValue = 1;	
-              CRepository* repository = CRepository::NewLC( KOMAProvAuthenticationLV );	
-              TInt err = repository->Set(KOMAProvIsUserPin, aSetAuthValue);    
-              if(err != KErrNone)
-                 		{
-                		FLOG( _L( "[Provisioning] CWPPushMessage::AuthenticateL: set KOMAProvIsUserPin Failed" ) );
-                		}	            
-              CleanupStack::PopAndDestroy(); // repository
             	result = KWPAuthResultNoAuthentication;	
             	FLOG( _L( "[Provisioning] CWPPushMessage::AuthenticateL: KWPAuthResultNoAuthentication" ) );
             	}