diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2012-07-13 21:37:56 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2012-07-13 21:37:56 +0000 |
commit | 92a701741ab376c6bd8ac20f832f55e55324abdc (patch) | |
tree | aae30addc202f556781d3c86706a1fdef4fa953b /plugins/BasicHistory/src | |
parent | 9f1350bd4fb0df56a4115e80343285eef8acb954 (diff) |
Updater removal - stage 1
git-svn-id: http://svn.miranda-ng.org/main/trunk@956 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/BasicHistory/src')
-rw-r--r-- | plugins/BasicHistory/src/BasicHistory.cpp | 34 |
1 files changed, 1 insertions, 33 deletions
diff --git a/plugins/BasicHistory/src/BasicHistory.cpp b/plugins/BasicHistory/src/BasicHistory.cpp index 38bea5701d..8f198f9527 100644 --- a/plugins/BasicHistory/src/BasicHistory.cpp +++ b/plugins/BasicHistory/src/BasicHistory.cpp @@ -260,37 +260,6 @@ void InitIcolib() hMinusExIcon = Skin_AddIcon(&sid);
}
-void InitUpdater()
-{
- if (ServiceExists(MS_UPDATE_REGISTER))
- {
- Update update = {0};
- char szVersion[16];
- update.cbSize = sizeof(Update);
- update.szComponentName = pluginInfo.shortName;
- update.pbVersion = (BYTE *)CreateVersionStringPluginEx(&pluginInfo, szVersion);
- update.cpbVersion = (int)strlen((char *)update.pbVersion);
-
-#ifdef _WIN64
- update.szUpdateURL = "http://programista.free.of.pl/miranda/BasicHistory64.zip";
- update.szVersionURL = "http://programista.free.of.pl/miranda/pluginversion.php?plugin=basichistory&x64=yes";
- update.szBetaUpdateURL = "http://programista.free.of.pl/miranda/BasicHistoryBeta64.zip";
- update.szBetaVersionURL = "http://programista.free.of.pl/miranda/pluginversion.php?plugin=basichistory&beta=yes&x64=yes";
- update.szBetaChangelogURL = "http://programista.free.of.pl/miranda/BasicHistoryChangelog.txt";
-#else
- update.szUpdateURL = "http://programista.free.of.pl/miranda/BasicHistory.zip";
- update.szVersionURL = "http://programista.free.of.pl/miranda/pluginversion.php?plugin=basichistory";
- update.szBetaUpdateURL = "http://programista.free.of.pl/miranda/BasicHistoryBeta.zip";
- update.szBetaVersionURL = "http://programista.free.of.pl/miranda/pluginversion.php?plugin=basichistory&beta=yes";
- update.szBetaChangelogURL = "http://programista.free.of.pl/miranda/BasicHistoryChangelog.txt";
-
-#endif
- update.pbBetaVersionPrefix = update.pbVersionPrefix = (BYTE *)"Basic History ";
- update.cpbBetaVersionPrefix = update.cpbVersionPrefix = (int)strlen((char *)update.pbVersionPrefix);
- CallService(MS_UPDATE_REGISTER, 0, (WPARAM)&update);
- }
-}
-
INT_PTR ShowContactHistory(WPARAM wParam, LPARAM lParam)
{
HANDLE hContact = (HANDLE)wParam;
@@ -314,8 +283,7 @@ int HistoryContactDelete(WPARAM wParam, LPARAM) int ModulesLoaded(WPARAM wParam, LPARAM lParam)
{
InitMenuItems();
- InitUpdater();
-
+
TCHAR ftpExe[MAX_PATH];
if(SUCCEEDED(SHGetFolderPath(NULL, CSIDL_PROGRAM_FILES, NULL, SHGFP_TYPE_CURRENT, ftpExe)))
{
|