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

Unified Diff: src/plugin/Plugin.cpp

Issue 11013110: Cleanup (Closed)
Patch Set: Created July 5, 2013, 3:28 a.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
@@ -113,13 +113,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)
{
@@ -132,7 +125,7 @@
{
DEBUG_GENERAL(
L"================================================================================\nUPDATER " +
- CString(IEPLUGIN_VERSION) + L" (UPDATED FROM " + settings->GetString(SETTING_PLUGIN_VERSION) + L")"
+ CString(IEPLUGIN_VERSION) +
L"\n================================================================================")
}
@@ -142,13 +135,6 @@
// 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;

Powered by Google App Engine
This is Rietveld