diff -r 29b591713d44 -r 8962128a2656 vpnengine/vpncleaner/src/vpncleanerexe.cpp --- 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 #include -#include // link against centralrepository.lib -#include #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;