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/Sessions/Src/Main.cpp | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'plugins/Sessions') diff --git a/plugins/Sessions/Src/Main.cpp b/plugins/Sessions/Src/Main.cpp index bb0fd11df7..d80f3c228f 100644 --- a/plugins/Sessions/Src/Main.cpp +++ b/plugins/Sessions/Src/Main.cpp @@ -1010,22 +1010,6 @@ static int PluginInit(WPARAM wparam,LPARAM lparam) cl.hIcon = hiSessionsSave; CallService(MS_CLIST_MODIFYMENUITEM, (WPARAM)hmSaveCurrentSession, (LPARAM)&cl); - if(ServiceExists(MS_UPDATE_REGISTER)) - { - char buffer[1024]; - Update update = {0}; - update.cbSize = sizeof(Update); - update.szComponentName = pluginInfo.shortName; - update.pbVersion = (BYTE *) CreateVersionString(pluginInfo.version, buffer); - update.cpbVersion = (int)strlen((char *) update.pbVersion); - //update.szUpdateURL = UPDATER_AUTOREGISTER; - update.szBetaVersionURL = SESSIONS_VERSION_URL; - update.szBetaUpdateURL = SESSIONS_UPDATE_URL; - update.pbBetaVersionPrefix = (BYTE *) SESSIONS_VERSION_PREFIX; - update.cpbBetaVersionPrefix = (int)strlen(SESSIONS_VERSION_PREFIX); - CallService(MS_UPDATE_REGISTER, 0, (LPARAM) &update); - } - return 0; } -- cgit v1.2.3