summaryrefslogtreecommitdiff
path: root/plugins/PluginUpdater/src/DlgUpdate.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-09-19 17:55:52 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-09-19 17:55:59 +0300
commitaefd74af9e06fafbecb2bfea1725d80554a45892 (patch)
tree41e86ce0ee680656fa62164c6b0982fe01cdab63 /plugins/PluginUpdater/src/DlgUpdate.cpp
parentc18c8bc1d74b539cc65f0d80ed0611fd5c9223d6 (diff)
PluginUpdater:
- CMPlugin::bForceRedownload isn't saved in database anymore (what for?); - update starts each time a user changes platform
Diffstat (limited to 'plugins/PluginUpdater/src/DlgUpdate.cpp')
-rw-r--r--plugins/PluginUpdater/src/DlgUpdate.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/plugins/PluginUpdater/src/DlgUpdate.cpp b/plugins/PluginUpdater/src/DlgUpdate.cpp
index 1e9b6cb16f..2166503d79 100644
--- a/plugins/PluginUpdater/src/DlgUpdate.cpp
+++ b/plugins/PluginUpdater/src/DlgUpdate.cpp
@@ -145,11 +145,6 @@ static void ApplyUpdates(void *param)
}
}
- if (g_plugin.bForceRedownload) {
- g_plugin.bForceRedownload = 0;
- g_plugin.delSetting(DB_SETTING_REDOWNLOAD);
- }
-
// 5) Prepare Restart
int rc = MessageBox(hDlg, TranslateT("Update complete. Press Yes to restart Miranda now or No to postpone a restart until the exit."), TranslateT("Plugin Updater"), MB_YESNO | MB_ICONQUESTION);
PostMessage(hDlg, WM_CLOSE, 0, 0);
@@ -458,8 +453,6 @@ static void DlgUpdateSilent(void *param)
Skin_PlaySound("updatecompleted");
g_plugin.bForceRedownload = false;
- g_plugin.delSetting(DB_SETTING_REDOWNLOAD);
-
g_plugin.bChangePlatform = false;
g_plugin.delSetting(DB_SETTING_CHANGEPLATFORM);