summaryrefslogtreecommitdiff
path: root/plugins/PluginUpdater/src/PluginUpdater.cpp
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2016-06-12 12:47:19 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2016-06-12 12:47:19 +0000
commit66c723f6dce584a64b04e79518c6675796ad0960 (patch)
tree9ae32601bff51944b149818ca8e9a12c1efec5de /plugins/PluginUpdater/src/PluginUpdater.cpp
parenta19e90b8eba21b88a146c531cae16b7f1219b2b5 (diff)
PluginUpdater:
- Old Miranda*.exe is removed after the next update, because we need UAC priviledges for that, and a prompt on startup seems to be too annoying - It doesn't seem safe to me to do ANYTHING after MS_SYSTEM_RESTART has been called - fixed enabling/disabling "Convert to" checkbox in options dialog git-svn-id: http://svn.miranda-ng.org/main/trunk@16955 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/PluginUpdater/src/PluginUpdater.cpp')
-rw-r--r--plugins/PluginUpdater/src/PluginUpdater.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/plugins/PluginUpdater/src/PluginUpdater.cpp b/plugins/PluginUpdater/src/PluginUpdater.cpp
index b58d7a8e78..74554870cd 100644
--- a/plugins/PluginUpdater/src/PluginUpdater.cpp
+++ b/plugins/PluginUpdater/src/PluginUpdater.cpp
@@ -70,11 +70,6 @@ extern "C" __declspec(dllexport) int Load(void)
InitServices();
#endif
- ptrT oldbin(db_get_tsa(NULL, MODNAME, "OldBin"));
- if (oldbin) {
- SafeDeleteFile(oldbin);
- db_unset(NULL, MODNAME, "OldBin");
- }
db_set_b(NULL, MODNAME, DB_SETTING_NEED_RESTART, 0);
DWORD dwLen = GetTempPath(_countof(g_tszTempPath), g_tszTempPath);