Index: src/plugin/PluginClientBase.cpp |
=================================================================== |
--- a/src/plugin/PluginClientBase.cpp |
+++ b/src/plugin/PluginClientBase.cpp |
@@ -8,7 +8,6 @@ |
#include "PluginSettings.h" |
#include "PluginSystem.h" |
-#include "PluginHttpRequest.h" |
#include "PluginMutex.h" |
#include "PluginClass.h" |
@@ -70,21 +69,6 @@ |
} |
-void CPluginClientBase::SetLocalization() |
-{ |
- CPluginSystem* system = CPluginSystem::GetInstance(); |
- CString browserLanguage = system->GetBrowserLanguage(); |
- |
- CPluginSettings* settings = CPluginSettings::GetInstance(); |
- if (settings->IsMainProcess() && settings->IsMainThread() && !settings->Has(SETTING_LANGUAGE)) |
- { |
- // TODO: We might want to set this to "en" if browserLanguage is not in filterLanguagesList |
- settings->SetString(SETTING_LANGUAGE, browserLanguage); |
- settings->Write(); |
- } |
-} |
- |
- |
void CPluginClientBase::LogPluginError(DWORD errorCode, int errorId, int errorSubid, const CString& description, bool isAsync, DWORD dwProcessId, DWORD dwThreadId) |
{ |
// Prevent circular references |