vpnengine/vpncleaner/src/vpncleanerexe.cpp
changeset 17 8962128a2656
parent 3 2df28d7a2299
child 21 5aacbb121f34
--- a/vpnengine/vpncleaner/src/vpncleanerexe.cpp	Tue Feb 02 00:53:00 2010 +0200
+++ b/vpnengine/vpncleaner/src/vpncleanerexe.cpp	Fri Apr 16 16:02:48 2010 +0300
@@ -17,13 +17,10 @@
 
 #include <e32base.h>
 #include <f32file.h>
-#include <centralrepository.h> // link against centralrepository.lib
-#include <settingsinternalcrkeys.h>
 
 #include "vpncleaner.h"
 
 
-LOCAL_C void  setKeysL();
 LOCAL_C TBool vpnOnRom();
 
 
@@ -38,8 +35,6 @@
         {
         TVpnCleaner vpnc;
         vpnc.Clean();
-
-        TRAP_IGNORE( setKeysL() );
         }
 
     delete cleanup;
@@ -49,19 +44,6 @@
     }
 
 
-LOCAL_C void setKeysL()
-    {
-    // Connecting and initialization:
-    CRepository* repository = CRepository::NewL(
-        KCRUidCommunicationSettings );
-
-    repository->Set( KSettingsVPNSupported, 0 );
-    repository->Delete( KSettingsVPNImplementation );
-
-    delete repository;
-    }
-
-
 LOCAL_C TBool vpnOnRom()
     {
     TBool ret = EFalse;