diff options
author | George Hazan <ghazan@miranda.im> | 2020-09-14 20:09:54 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2020-09-14 20:09:54 +0300 |
commit | 8b207363ce680529b39464c6209d1ad8cfc8c86c (patch) | |
tree | 249935d918ca0c2c8a7f470da7c242b14441b978 /plugins/PluginUpdater/src/Options.cpp | |
parent | ba8b1153a5e43780d1d6ad59e5c2a1fcfcfdf116 (diff) |
Plugin Updater: code cleaning
Diffstat (limited to 'plugins/PluginUpdater/src/Options.cpp')
-rw-r--r-- | plugins/PluginUpdater/src/Options.cpp | 3 |
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)
|