diff options
author | George Hazan <george.hazan@gmail.com> | 2013-03-25 08:26:09 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-03-25 08:26:09 +0000 |
commit | a881be4206c532a8d7dd1d65fbeed1e1a89e84d2 (patch) | |
tree | e6535bc89ae655e482f5b1037a6791391e1bf909 /protocols/GTalkExt/src/db.cpp | |
parent | 94307fb2630cb2e7f94bb281075dec2cff6680c9 (diff) |
last portion of cleaning before removing GtalkExt's contact
git-svn-id: http://svn.miranda-ng.org/main/trunk@4184 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/GTalkExt/src/db.cpp')
-rw-r--r-- | protocols/GTalkExt/src/db.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/GTalkExt/src/db.cpp b/protocols/GTalkExt/src/db.cpp index bab22c21ed..5b55a9a688 100644 --- a/protocols/GTalkExt/src/db.cpp +++ b/protocols/GTalkExt/src/db.cpp @@ -85,15 +85,15 @@ void RenewPseudocontactHandles() PROTOACCOUNT **protos;
ProtoEnumAccounts(&count, &protos);
for (int i = 0; i < count; i++) {
- DBDeleteContactSetting(0, protos[i]->szModuleName, PSEUDOCONTACT_LINK);
- DBDeleteContactSetting(0, protos[i]->szModuleName, "GMailExtNotifyContact"); // remove this
+ db_unset(0, protos[i]->szModuleName, PSEUDOCONTACT_LINK);
+ db_unset(0, protos[i]->szModuleName, "GMailExtNotifyContact"); // remove this
}
HANDLE hContact = db_find_first();
while (hContact) {
if (db_get_b(hContact, SHORT_PLUGIN_NAME, PSEUDOCONTACT_FLAG, 0)) {
LPCSTR proto = (LPCSTR)GetContactProto(hContact);
- DBWriteContactSettingDword(0, proto, PSEUDOCONTACT_LINK, (DWORD)hContact);
+ db_set_dw(0, proto, PSEUDOCONTACT_LINK, (DWORD)hContact);
}
hContact = db_find_next(hContact);
};
|