summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2012-07-13 22:31:15 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2012-07-13 22:31:15 +0000
commitb68554a7657d13abf76d960a3d509de91ac15494 (patch)
treedd6d6fad8369820d87042fbd81f00fc17ec79415 /plugins
parent92a701741ab376c6bd8ac20f832f55e55324abdc (diff)
Updater removal - stage 2
git-svn-id: http://svn.miranda-ng.org/main/trunk@957 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-rw-r--r--plugins/Clist_nicer/SRC/clui.cpp13
-rw-r--r--plugins/Dbx_tree/DatabaseLink.cpp19
2 files changed, 1 insertions, 31 deletions
diff --git a/plugins/Clist_nicer/SRC/clui.cpp b/plugins/Clist_nicer/SRC/clui.cpp
index 3df6e493b3..f7058a0f23 100644
--- a/plugins/Clist_nicer/SRC/clui.cpp
+++ b/plugins/Clist_nicer/SRC/clui.cpp
@@ -262,19 +262,6 @@ static int CluiModulesLoaded(WPARAM wParam, LPARAM lParam)
static char *szVersionUrl = "http://download.miranda.or.at/clist_nicer/0.9/versionW.txt";
static char *szUpdateUrl = "http://download.miranda.or.at/clist_nicer/0.9/clist_nicer_plusW.zip";
- // updater plugin support
-
- upd.cbSize = sizeof(upd);
- upd.szComponentName = pluginInfo.shortName;
- upd.pbVersion = (BYTE *)CreateVersionStringPluginEx(&pluginInfo, szCurrentVersion);
- upd.cpbVersion = (int)strlen((char *)upd.pbVersion);
- upd.szUpdateURL = UPDATER_AUTOREGISTER;
-
- upd.szBetaUpdateURL = szUpdateUrl;
- upd.szBetaVersionURL = szVersionUrl;
- upd.pbBetaVersionPrefix = (BYTE *)szPrefix;
- upd.cpbBetaVersionPrefix = (int)strlen((char *)upd.pbBetaVersionPrefix);
-
MTG_OnmodulesLoad(wParam, lParam);
FS_RegisterFonts();
HookEvent(ME_FONT_RELOAD, FS_FontsChanged);
diff --git a/plugins/Dbx_tree/DatabaseLink.cpp b/plugins/Dbx_tree/DatabaseLink.cpp
index a15a54e415..3e75ce591e 100644
--- a/plugins/Dbx_tree/DatabaseLink.cpp
+++ b/plugins/Dbx_tree/DatabaseLink.cpp
@@ -46,24 +46,7 @@ HANDLE hSystemModulesLoaded = 0;
static int SystemModulesLoaded(WPARAM wParam, LPARAM lParam)
{
- Update upd = {0,0,0,0,0,0,0,0,0,0,0,0,0};
-
- upd.cbSize = sizeof(upd);
- upd.szComponentName = gInternalName;
- upd.szBetaVersionURL = "http://www-user.tu-chemnitz.de/~kunmi/?dbx_tree";
-#ifdef _M_X64
- upd.pbBetaVersionPrefix = (BYTE *)"<!-- Updater Beta x64: ";
- upd.cpbBetaVersionPrefix = 23;
- upd.szBetaUpdateURL = "http://www-user.tu-chemnitz.de/~kunmi/Downloads/dbx_tree64.zip";
-#else
- upd.pbBetaVersionPrefix = (BYTE *)"<!-- Updater Beta: ";
- upd.cpbBetaVersionPrefix = 19;
- upd.szBetaUpdateURL = "http://www-user.tu-chemnitz.de/~kunmi/Downloads/dbx_tree.zip";
-#endif
- upd.pbVersion = (BYTE*)gResVersionString;
- upd.cpbVersion = sizeof(gResVersionString) - 1;
- upd.szBetaChangelogURL = "http://www-user.tu-chemnitz.de/~kunmi/?dbx_tree=BetaLog&lang=en";
-
+
UnhookEvent(hSystemModulesLoaded);
hSystemModulesLoaded = 0;