--- a/vpnengine/vpncleaner/src/vpncleanerexe.cpp Thu Aug 19 10:54:34 2010 +0300
+++ b/vpnengine/vpncleaner/src/vpncleanerexe.cpp Tue Aug 31 16:14:16 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;