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/Popup/src/main.cpp | |
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/Popup/src/main.cpp')
-rw-r--r-- | plugins/Popup/src/main.cpp | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/plugins/Popup/src/main.cpp b/plugins/Popup/src/main.cpp index 4071d2a804..e23b3077d5 100644 --- a/plugins/Popup/src/main.cpp +++ b/plugins/Popup/src/main.cpp @@ -302,30 +302,6 @@ INT_PTR GetStatus(WPARAM wp, LPARAM lp) return PopUpOptions.ModuleIsEnabled;
}
-//register Updatersupport
-void registerUpdate() {
- Update update = {0};
- char szVersion[16];
- update.cbSize = sizeof(Update);
- update.szComponentName = pluginInfoEx.shortName;
- update.pbVersion = (BYTE *)CreateVersionStringPluginEx(&pluginInfoEx, szVersion);
- update.cpbVersion = (int)strlen((char *)update.pbVersion);
-
- update.szUpdateURL = __FLUpdateURL /*UPDATER_AUTOREGISTER*/;
- update.szVersionURL = __FLVersionURL;
- update.pbVersionPrefix = (BYTE *)__FLVersionPrefix;
- update.cpbVersionPrefix = (int)strlen((char *)update.pbVersionPrefix);
-
- update.szBetaUpdateURL = __BetaUpdateURL;
- update.szBetaVersionURL = __BetaVersionURL;
- // bytes occuring in VersionURL before the version, used to locate the version information within the URL data
- update.pbBetaVersionPrefix = (BYTE *)__BetaVersionPrefix;
- update.cpbBetaVersionPrefix = (int)strlen((char *)update.pbBetaVersionPrefix);
-
- update.szBetaChangelogURL = __BetaChangelogURL;
-
- CallService(MS_UPDATE_REGISTER, 0, (LPARAM) &update);
-}
//register Hotkey
void LoadHotkey() {
@@ -408,8 +384,6 @@ static int ModulesLoaded(WPARAM wParam,LPARAM lParam) SrmmMenu_Load();
//Hotkey
LoadHotkey();
- //Updater support
- if(ServiceExists(MS_UPDATE_REGISTER)) registerUpdate();
gbPopupLoaded = TRUE;
return 0;
|