Index: src/plugin/AdblockPlusClient.cpp |
=================================================================== |
--- a/src/plugin/AdblockPlusClient.cpp |
+++ b/src/plugin/AdblockPlusClient.cpp |
@@ -320,27 +320,6 @@ |
return isWhitelisted; |
} |
-int CAdblockPlusClient::GetIEVersion() |
-{ |
- //HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer |
- HKEY hKey; |
- LSTATUS status = RegOpenKey(HKEY_LOCAL_MACHINE, L"Software\\Microsoft\\Internet Explorer", &hKey); |
- if (status != 0) |
- { |
- return 0; |
- } |
- DWORD type, cbData; |
- BYTE version[50]; |
- cbData = 50; |
- status = RegQueryValueEx(hKey, L"Version", NULL, &type, (BYTE*)version, &cbData); |
- if (status != 0) |
- { |
- return 0; |
- } |
- RegCloseKey(hKey); |
- return (int)(version[0] - 48); |
-} |
- |
bool CAdblockPlusClient::Matches(const std::wstring& url, const std::wstring& contentType, const std::wstring& domain) |
{ |
Communication::OutputBuffer request; |