diff options
author | George Hazan <george.hazan@gmail.com> | 2012-11-29 10:04:32 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-11-29 10:04:32 +0000 |
commit | d0548b5d631f44cad9bbce5ac521717c87cef3ad (patch) | |
tree | 928027ed38136c512473939eaee36f64fab901e6 /plugins/Weather/src/weather_data.cpp | |
parent | 8aad639169f7d36ba395737592cfc4d0295ce5f7 (diff) |
- by default Weather goes virtual;
- version bump;
git-svn-id: http://svn.miranda-ng.org/main/trunk@2555 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Weather/src/weather_data.cpp')
-rw-r--r-- | plugins/Weather/src/weather_data.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/plugins/Weather/src/weather_data.cpp b/plugins/Weather/src/weather_data.cpp index 5def028c3d..09fd7f849e 100644 --- a/plugins/Weather/src/weather_data.cpp +++ b/plugins/Weather/src/weather_data.cpp @@ -117,7 +117,7 @@ int DBGetStaticString(HANDLE hContact, const char *szModule, const char *valueNa // erase all current weather information from database
// lastver = the last used version number in dword (using PLUGIN_MAKE_VERSION)
-void EraseAllInfo(DWORD lastver)
+void EraseAllInfo()
{
TCHAR str[255];
int ContactCount = 0;
@@ -128,9 +128,6 @@ void EraseAllInfo(DWORD lastver) while(hContact) {
// see if the contact is a weather contact
if ( IsMyContact(hContact)) {
- // check for upgrade
- if (lastver < __VERSION_DWORD)
- UpgradeContact(lastver, hContact);
db_set_w(hContact,WEATHERPROTONAME, "Status",ID_STATUS_OFFLINE);
db_set_w(hContact,WEATHERPROTONAME, "StatusIcon",ID_STATUS_OFFLINE);
db_unset(hContact, "CList", "MyHandle");
|