From 007b4c7301f0d26a72f89f74e9929f42e24eb3e6 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 5 Apr 2013 22:27:16 +0000 Subject: - rest of menus cleared; - old database macroses wiped out from all plugins (left in m_database.h for compatibility) git-svn-id: http://svn.miranda-ng.org/main/trunk@4324 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/MSN/src/msn_soapab.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'protocols/MSN/src/msn_soapab.cpp') diff --git a/protocols/MSN/src/msn_soapab.cpp b/protocols/MSN/src/msn_soapab.cpp index c3ec9f6020..d0e1e6b32c 100644 --- a/protocols/MSN/src/msn_soapab.cpp +++ b/protocols/MSN/src/msn_soapab.cpp @@ -834,7 +834,7 @@ bool CMsnProto::MSN_ABFind(const char* szMethod, const char* szGuid, bool deltas if (strcmp(ezxml_txt(ezxml_child(anot, "Name")), "AB.NickName") == 0) { szNick = ezxml_txt(ezxml_child(anot, "Value")); - DBWriteContactSettingStringUtf(hContact, "CList", "MyHandle", szNick); + db_set_utf(hContact, "CList", "MyHandle", szNick); } if (strcmp(ezxml_txt(ezxml_child(anot, "Name")), "AB.JobTitle") == 0) { @@ -844,7 +844,7 @@ bool CMsnProto::MSN_ABFind(const char* szMethod, const char* szGuid, bool deltas anot = ezxml_next(anot); } if (szNick == NULL) - DBDeleteContactSetting(hContact, "CList", "MyHandle"); + db_unset(hContact, "CList", "MyHandle"); setString(hContact, "ID", szContId); @@ -893,8 +893,8 @@ bool CMsnProto::MSN_ABFind(const char* szMethod, const char* szGuid, bool deltas } szTmp = ezxml_txt(ezxml_child(contInf, "comment")); - if (*szTmp) DBWriteContactSettingString(hContact, "UserInfo", "MyNotes", szTmp); - // else DBDeleteContactSetting(hContact, "UserInfo", "MyNotes"); + if (*szTmp) db_set_s(hContact, "UserInfo", "MyNotes", szTmp); + // else db_unset(hContact, "UserInfo", "MyNotes"); ezxml_t loc = ezxml_get(contInf, "locations", 0, "ContactLocation", -1); while (loc != NULL) -- cgit v1.2.3