From 92a701741ab376c6bd8ac20f832f55e55324abdc Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Fri, 13 Jul 2012 21:37:56 +0000 Subject: Updater removal - stage 1 git-svn-id: http://svn.miranda-ng.org/main/trunk@956 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/YAPP/popups2.cpp | 29 ----------------------------- 1 file changed, 29 deletions(-) (limited to 'plugins/YAPP') diff --git a/plugins/YAPP/popups2.cpp b/plugins/YAPP/popups2.cpp index 09e6566a67..f00a1853e0 100644 --- a/plugins/YAPP/popups2.cpp +++ b/plugins/YAPP/popups2.cpp @@ -115,35 +115,6 @@ int ModulesLoaded(WPARAM wParam, LPARAM lParam) if (ServiceExists(MS_HPP_EG_WINDOW)) lstPopupHistory.SetRenderer(RENDER_HISTORYPP); - if(ServiceExists(MS_UPDATE_REGISTER)) { - // register with updater - Update update = {0}; - char szVersion[16]; - - update.cbSize = sizeof(Update); - - update.szComponentName = pluginInfo.shortName; - update.pbVersion = (BYTE *)CreateVersionString(pluginInfo.version, szVersion); - update.cpbVersion = (int)strlen((char *)update.pbVersion); - update.szBetaChangelogURL = "https://server.scottellis.com.au/wsvn/mim_plugs/yapp/?op=log&rev=0&sc=0&isdir=1"; - - update.szUpdateURL = UPDATER_AUTOREGISTER; - - // these are the three lines that matter - the archive, the page containing the version string, and the text (or data) - // before the version that we use to locate it on the page - // (note that if the update URL and the version URL point to standard file listing entries, the backend xml - // data will be used to check for updates rather than the actual web page - this is not true for beta urls) -#ifdef _WIN64 - update.szBetaUpdateURL = "http://www.scottellis.com.au/miranda_plugins/yapp_x64.zip"; -#endif - update.szBetaVersionURL = "http://www.scottellis.com.au/miranda_plugins/ver_yapp.html"; - update.pbBetaVersionPrefix = (BYTE *)"YAPP version "; - - update.cpbBetaVersionPrefix = (int)strlen((char *)update.pbBetaVersionPrefix); - - CallService(MS_UPDATE_REGISTER, 0, (WPARAM)&update); - } - font_id_firstlinew.cbSize = sizeof(FontIDW); font_id_firstlinew.flags = FIDF_ALLOWEFFECTS; _tcscpy(font_id_firstlinew.group, _T("Popups")); -- cgit v1.2.3