summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-06-28 17:19:13 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-06-28 17:19:13 +0000
commitad63722fc98ab8f8cc22b0e312a8a835455fc3ba (patch)
treeec996b0eec3f104bc1375c3902429c8f6425df49
parentb4a404edb834787bd335a89652f71c948838e1f9 (diff)
we don't save LastUpdate in Miranda IM
git-svn-id: http://svn.miranda-ng.org/main/trunk@9603 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--plugins/PluginUpdater/src/DlgUpdate.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/PluginUpdater/src/DlgUpdate.cpp b/plugins/PluginUpdater/src/DlgUpdate.cpp
index 96c3190b56..4fc01ff582 100644
--- a/plugins/PluginUpdater/src/DlgUpdate.cpp
+++ b/plugins/PluginUpdater/src/DlgUpdate.cpp
@@ -722,7 +722,9 @@ void DoCheck(int iFlag)
SetFocus(hwndDialog);
}
else if (iFlag) {
- db_set_dw(NULL, MODNAME, "LastUpdate", time(NULL));
+ #if MIRANDA_VER < 0x0A00
+ db_set_dw(NULL, MODNAME, "LastUpdate", time(NULL));
+ #endif
hCheckThread = mir_forkthread(CheckUpdates, 0);
}
}