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/SpellChecker/spellchecker.cpp | 31 ------------------------------- 1 file changed, 31 deletions(-) (limited to 'plugins/SpellChecker') diff --git a/plugins/SpellChecker/spellchecker.cpp b/plugins/SpellChecker/spellchecker.cpp index ad6be60855..f00d4d2d51 100644 --- a/plugins/SpellChecker/spellchecker.cpp +++ b/plugins/SpellChecker/spellchecker.cpp @@ -184,37 +184,6 @@ int ModulesLoaded(WPARAM wParam, LPARAM lParam) // add our modules to the KnownModules list CallService("DBEditorpp/RegisterSingleModule", (WPARAM) MODULE_NAME, 0); - // updater plugin support - if(ServiceExists(MS_UPDATE_REGISTER)) - { - Update upd = {0}; - char szCurrentVersion[30]; - - upd.cbSize = sizeof(upd); - upd.szComponentName = pluginInfo.shortName; - - upd.szBetaVersionURL = "http://svn.berlios.de/svnroot/repos/mgoodies/trunk/spellchecker/Docs/spellchecker_version.txt"; - upd.szBetaChangelogURL = "http://pescuma.org/miranda/spellchecker#Changelog"; - upd.pbBetaVersionPrefix = (BYTE *)"Spell Checker "; - upd.cpbBetaVersionPrefix = (int)strlen((char *)upd.pbBetaVersionPrefix); - upd.szUpdateURL = UPDATER_AUTOREGISTER; -#ifdef WIN64 - upd.szBetaUpdateURL = "http://pescuma.googlecode.com/files/spellchecker64.%VERSION%.zip"; -// upd.szVersionURL = "http://addons.miranda-im.org/details.php?action=viewfile&id="; - upd.pbVersionPrefix = (BYTE *)"Spell Checker (x64) "; -#else - upd.szBetaUpdateURL = "http://pescuma.googlecode.com/files/spellcheckerW.%VERSION%.zip"; - upd.szVersionURL = "http://addons.miranda-im.org/details.php?action=viewfile&id=3691"; - upd.pbVersionPrefix = (BYTE *)"Spell Checker (Unicode) "; -#endif - upd.cpbVersionPrefix = (int)strlen((char *)upd.pbVersionPrefix); - - upd.pbVersion = (BYTE *)CreateVersionStringPluginEx(&pluginInfo, szCurrentVersion); - upd.cpbVersion = (int)strlen((char *)upd.pbVersion); - - CallService(MS_UPDATE_REGISTER, 0, (LPARAM)&upd); - } - // Folders plugin support if (ServiceExists(MS_FOLDERS_REGISTER_PATH)) { -- cgit v1.2.3