summaryrefslogtreecommitdiff
path: root/protocols/YAMN
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2012-07-13 21:37:56 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2012-07-13 21:37:56 +0000
commit92a701741ab376c6bd8ac20f832f55e55324abdc (patch)
treeaae30addc202f556781d3c86706a1fdef4fa953b /protocols/YAMN
parent9f1350bd4fb0df56a4115e80343285eef8acb954 (diff)
Updater removal - stage 1
git-svn-id: http://svn.miranda-ng.org/main/trunk@956 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/YAMN')
-rw-r--r--protocols/YAMN/main.cpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/protocols/YAMN/main.cpp b/protocols/YAMN/main.cpp
index 978a2fa233..2dd7f050b6 100644
--- a/protocols/YAMN/main.cpp
+++ b/protocols/YAMN/main.cpp
@@ -238,26 +238,6 @@ int SystemModulesLoaded(WPARAM, LPARAM)
CheckMenuItems();
- //Use for the Updater plugin
- if (ServiceExists(MS_UPDATE_REGISTER)) {
- Update update = {0};
- char szVersion[16], szUrl[250];
- wsprintfA(szUrl, "http://www.miranda-fr.net/tweety/yamn/%s.zip", YAMN_FILENAME);
-
- update.szComponentName = pluginInfo.shortName;
- update.pbVersion = (BYTE *)CreateVersionStringPluginEx((PLUGININFOEX *)&pluginInfo, szVersion);
- update.cpbVersion = (int)strlen((char *)update.pbVersion);
- update.szUpdateURL = "http://addons.miranda-im.org/feed.php?dlfile = 3411";
- update.szVersionURL = "http://addons.miranda-im.org/details.php?action = viewfile&id = 3411";
- update.pbVersionPrefix = (BYTE *)"<span class = \"fileNameHeader\">YAMN 2in1 ";
- update.szBetaUpdateURL = szUrl;
- update.szBetaVersionURL = "http://www.miranda-fr.net/tweety/yamn/yamn_beta.html";
- update.pbBetaVersionPrefix = (BYTE *)"YAMN version ";
- update.cpbVersionPrefix = (int)strlen((char *)update.pbVersionPrefix);
- update.cpbBetaVersionPrefix = (int)strlen((char *)update.pbBetaVersionPrefix);
- CallService(MS_UPDATE_REGISTER, 0, (WPARAM)&update);
- }
-
if (ServiceExists(MS_FOLDERS_GET_PATH)) {
hAccountFolder = FoldersRegisterCustomPathT(YAMN_DBMODULE, YAMN_DBMODULE" Account Folder", UserDirectory);
FoldersGetCustomPathT(hAccountFolder, UserDirectory, MAX_PATH, UserDirectory);