summaryrefslogtreecommitdiff
path: root/plugins/PluginUpdater/src/Options.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-09-14 20:09:54 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-09-14 20:09:54 +0300
commit8b207363ce680529b39464c6209d1ad8cfc8c86c (patch)
tree249935d918ca0c2c8a7f470da7c242b14441b978 /plugins/PluginUpdater/src/Options.cpp
parentba8b1153a5e43780d1d6ad59e5c2a1fcfcfdf116 (diff)
Plugin Updater: code cleaning
Diffstat (limited to 'plugins/PluginUpdater/src/Options.cpp')
-rw-r--r--plugins/PluginUpdater/src/Options.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/PluginUpdater/src/Options.cpp b/plugins/PluginUpdater/src/Options.cpp
index 7880d0269c..c796524d7f 100644
--- a/plugins/PluginUpdater/src/Options.cpp
+++ b/plugins/PluginUpdater/src/Options.cpp
@@ -288,7 +288,8 @@ public:
FindClose(hFind);
}
- RemoveBackupFolders();
+ if (PrepareEscalation())
+ RemoveBackupFolders();
// if user tried to change the channel, run the update dialog immediately
if (bStartUpdate)