summaryrefslogtreecommitdiff
path: root/plugins/PluginUpdater/src/PluginUpdater.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2014-05-26 10:54:10 +0000
committerKirill Volinsky <mataes2007@gmail.com>2014-05-26 10:54:10 +0000
commit7386d8f92c231b228592b0357f9fe4a5ea1f0694 (patch)
tree753df21810c8759d7d5830a0e4a95ca982338975 /plugins/PluginUpdater/src/PluginUpdater.cpp
parent6705643a6c04809e6774955745e2d10c360dd8a5 (diff)
added silent mode for update
git-svn-id: http://svn.miranda-ng.org/main/trunk@9313 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/PluginUpdater/src/PluginUpdater.cpp')
-rw-r--r--plugins/PluginUpdater/src/PluginUpdater.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/PluginUpdater/src/PluginUpdater.cpp b/plugins/PluginUpdater/src/PluginUpdater.cpp
index 3e90fb75eb..1cfa3f2ab9 100644
--- a/plugins/PluginUpdater/src/PluginUpdater.cpp
+++ b/plugins/PluginUpdater/src/PluginUpdater.cpp
@@ -89,6 +89,9 @@ extern "C" __declspec(dllexport) int Load(void)
ServiceInit();
#endif
+
+ db_set_b(NULL, MODNAME, "NeedRestart", 0);
+
hPluginUpdaterFolder = FoldersRegisterCustomPathT(MODULEA, LPGEN("Plugin Updater"), MIRANDA_PATHT _T("\\")DEFAULT_UPDATES_FOLDER);
if (hPluginUpdaterFolder)
OnFoldersChanged(0, 0);