Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: src/plugin/Plugin.cpp

Issue 11013110: Cleanup (Closed)
Patch Set: Minor CallEngine refactoring Created July 26, 2013, 2:12 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/plugin/Plugin.cpp
===================================================================
--- a/src/plugin/Plugin.cpp
+++ b/src/plugin/Plugin.cpp
@@ -112,15 +112,6 @@
CPluginSettings* settings = CPluginSettings::GetInstance();
- settings->SetMainProcessId();
- settings->EraseTab();
-
- settings->Remove(SETTING_PLUGIN_SELFTEST);
- settings->SetValue(SETTING_PLUGIN_INFO_PANEL, isInstall ? 1 : 2);
-
-
- settings->Write();
-
if (isInstall)
{
DEBUG_GENERAL(
@@ -132,28 +123,10 @@
{
DEBUG_GENERAL(
L"================================================================================\nUPDATER " +
- CString(IEPLUGIN_VERSION) + L" (UPDATED FROM " + settings->GetString(SETTING_PLUGIN_VERSION) + L")"
+ CString(IEPLUGIN_VERSION) +
L"\n================================================================================")
}
- // Create default filters
-#ifdef SUPPORT_FILTER
- // DEBUG_GENERAL(L"*** Generating default filters")
- // CPluginFilter::CreateFilters();
-#endif
-
- // Force creation of default config file
-#ifdef SUPPORT_CONFIG
- DEBUG_GENERAL("*** Generating config file")
- CPluginConfig* config = CPluginConfig::GetInstance();
- config->Create(true);
-#endif
-
- HKEY hKey = NULL;
- DWORD dwDisposition = 0;
-
- DWORD dwResult = NULL;
-
// Post async plugin error
CPluginError pluginError;
while (CPluginClientBase::PopFirstPluginError(pluginError))

Powered by Google App Engine
This is Rietveld