summaryrefslogtreecommitdiff
path: root/plugins/UserInfoEx/src/commonheaders.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/UserInfoEx/src/commonheaders.cpp')
-rw-r--r--plugins/UserInfoEx/src/commonheaders.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/plugins/UserInfoEx/src/commonheaders.cpp b/plugins/UserInfoEx/src/commonheaders.cpp
index 4a169f82ab..69488a542f 100644
--- a/plugins/UserInfoEx/src/commonheaders.cpp
+++ b/plugins/UserInfoEx/src/commonheaders.cpp
@@ -159,13 +159,3 @@ unsigned int hashSetting_M2(const wchar_t * key)
#ifdef _DEBUG
#pragma optimize( "", on )
#endif
-
-INT_PTR myDestroyServiceFunction(const char * key) {
- //DestroyServiceFunction always return 0 therfore we must call ServiceExists to enshure it is delete
- if (!ServiceExists(key)) return 0;
- DestroyServiceFunction((HANDLE)(INT_PTR)hashSetting(key)); //old hash
- if (!ServiceExists(key)) return 0;
- DestroyServiceFunction((HANDLE)(INT_PTR)hashSetting_M2(key)); //new MurmurHash2
- if (!ServiceExists(key)) return 0;
- return 1;
-}