From 0173277372e2962b8f5703a0ebad7892dda15e6c Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 9 Mar 2014 21:50:49 +0000 Subject: end of the old MC API git-svn-id: http://svn.miranda-ng.org/main/trunk@8534 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/HistoryStats/src/mirandahistory.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/HistoryStats/src/mirandahistory.cpp') diff --git a/plugins/HistoryStats/src/mirandahistory.cpp b/plugins/HistoryStats/src/mirandahistory.cpp index 867b8756f2..60c4df0ba0 100644 --- a/plugins/HistoryStats/src/mirandahistory.cpp +++ b/plugins/HistoryStats/src/mirandahistory.cpp @@ -59,7 +59,7 @@ void MirandaHistory::makeContactsAvailable() void MirandaHistory::readContacts() { - bool bHandleMeta = mu::metacontacts::_available() && m_Settings.m_MetaContactsMode != Settings::mcmIgnoreMeta; + bool bHandleMeta = m_Settings.m_MetaContactsMode != Settings::mcmIgnoreMeta; ext::a::string strMetaProto = bHandleMeta ? META_PROTO : ""; MirandaSettings db; @@ -106,10 +106,10 @@ void MirandaHistory::readContacts() // include meta-contact's subcontact if (m_Settings.m_MetaContactsMode != Settings::mcmMetaOnly) { // find subcontacts to read history from - int numSubs = mu::metacontacts::getNumContacts(hContact); + int numSubs = db_mc_getSubCount(hContact); if (numSubs > 0) { for (int i = 0; i < numSubs; ++i) { - MCONTACT hSubContact = mu::metacontacts::getSubContact(hContact, i); + MCONTACT hSubContact = db_mc_getSub(hContact, i); if (hSubContact) sources.push_back(hSubContact); } -- cgit v1.2.3