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/AvatarHistory | |
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/AvatarHistory')
-rw-r--r-- | plugins/AvatarHistory/src/AvatarHistory.cpp | 33 |
1 files changed, 1 insertions, 32 deletions
diff --git a/plugins/AvatarHistory/src/AvatarHistory.cpp b/plugins/AvatarHistory/src/AvatarHistory.cpp index 3434dd0cc3..3b6e3a1b85 100644 --- a/plugins/AvatarHistory/src/AvatarHistory.cpp +++ b/plugins/AvatarHistory/src/AvatarHistory.cpp @@ -212,38 +212,7 @@ static int ModulesLoaded(WPARAM wParam, LPARAM lParam) if (ServiceExists(MS_MC_GETPROTOCOLNAME)) metacontacts_proto = (char *) CallService(MS_MC_GETPROTOCOLNAME, 0, 0); - // updater plugin support - if(ServiceExists(MS_UPDATE_REGISTER)) - { - Update upd = {0}; - char szCurrentVersion[30]; - - upd.cbSize = sizeof(upd); - upd.szComponentName = pluginInfo.shortName; - - upd.szUpdateURL = UPDATER_AUTOREGISTER; - - upd.szBetaVersionURL = "http://code.google.com/p/pescuma/downloads/list?q=label:Plugin-AVH"; - upd.szBetaChangelogURL = "http://code.google.com/p/pescuma/source/list"; -#ifdef _WIN64 - upd.pbBetaVersionPrefix = (BYTE *) "Avatar History (x64) "; - upd.szBetaUpdateURL = "http://pescuma.googlecode.com/files/avatarhistW.%VERSION%-x64.zip"; -#elif _UNICODE - upd.pbBetaVersionPrefix = (BYTE *) "Avatar History (Unicode) "; - upd.szBetaUpdateURL = "http://pescuma.googlecode.com/files/avatarhistW.%VERSION%.zip"; -#else - upd.pbBetaVersionPrefix = (BYTE *) "Avatar History (ANSI) "; - upd.szBetaUpdateURL = "http://pescuma.googlecode.com/files/avatarhist.%VERSION%.zip"; -#endif - upd.cpbBetaVersionPrefix = (int) strlen((char *)upd.pbBetaVersionPrefix); - - upd.pbVersion = (BYTE *)CreateVersionStringPluginEx(&pluginInfo, szCurrentVersion); - upd.cpbVersion = (int) strlen((char *)upd.pbVersion); - - CallService(MS_UPDATE_REGISTER, 0, (LPARAM)&upd); - } - - if (DBGetContactSettingByte(NULL, MODULE_NAME, "LogToHistory", AVH_DEF_LOGTOHISTORY)) + if (DBGetContactSettingByte(NULL, MODULE_NAME, "LogToHistory", AVH_DEF_LOGTOHISTORY)) { char *templates[] = { "Avatar change\nchanged his/her avatar", "Avatar removal\nremoved his/her avatar" }; |