summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src
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 /plugins/TabSRMM/src
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 'plugins/TabSRMM/src')
-rw-r--r--plugins/TabSRMM/src/globals.cpp28
1 files changed, 0 insertions, 28 deletions
diff --git a/plugins/TabSRMM/src/globals.cpp b/plugins/TabSRMM/src/globals.cpp
index 4c4d6721d4..009ae7eef6 100644
--- a/plugins/TabSRMM/src/globals.cpp
+++ b/plugins/TabSRMM/src/globals.cpp
@@ -102,32 +102,6 @@ void CRTException::display() const
mir_free(tszMsg);
}
-void CGlobals::RegisterWithUpdater()
-{
- Update upd = {0};
-
- if (!ServiceExists(MS_UPDATE_REGISTER))
- return;
-
- upd.cbSize = sizeof(upd);
- upd.szComponentName = pluginInfo.shortName;
- upd.pbVersion = (BYTE *)CreateVersionString(pluginInfo.version, szCurrentVersion);
- upd.cpbVersion = (int)(strlen((char *)upd.pbVersion));
- upd.szVersionURL = szFLVersionUrl;
- upd.szUpdateURL = szFLUpdateurl;
- upd.pbVersionPrefix = (BYTE *)"<span class=\"fileNameHeader\">tabSRMM Unicode 2.0 ";
- upd.cpbVersionPrefix = (int)(strlen((char *)upd.pbVersionPrefix));
-
- upd.szBetaUpdateURL = szUpdateUrl;
- upd.szBetaVersionURL = szVersionUrl;
- upd.pbVersion = (unsigned char *)szCurrentVersion;
- upd.cpbVersion = lstrlenA(szCurrentVersion);
- upd.pbBetaVersionPrefix = (BYTE *)szPrefix;
- upd.cpbBetaVersionPrefix= (int)(strlen((char *)upd.pbBetaVersionPrefix));
- upd.szBetaChangelogURL = "http://blog.miranda.or.at/tabsrmm-articles/tabsrmm-version-3-changelog";
-
- CallService(MS_UPDATE_REGISTER, 0, (LPARAM)&upd);
-}
/**
* reload system values. These are read ONCE and are not allowed to change
* without a restart
@@ -457,8 +431,6 @@ int CGlobals::ModulesLoaded(WPARAM wParam, LPARAM lParam)
}
RestoreUnreadMessageAlerts();
- RegisterWithUpdater();
-
::RegisterFontServiceFonts();
::CacheLogFonts();
::Chat_ModulesLoaded(wParam, lParam);