diff options
Diffstat (limited to 'plugins/Dbx_mdbx/src')
-rw-r--r-- | plugins/Dbx_mdbx/src/dbcontacts.cpp | 4 | ||||
-rw-r--r-- | plugins/Dbx_mdbx/src/dbintf.cpp | 9 |
2 files changed, 2 insertions, 11 deletions
diff --git a/plugins/Dbx_mdbx/src/dbcontacts.cpp b/plugins/Dbx_mdbx/src/dbcontacts.cpp index 1cda600b34..6c6fd8a8ba 100644 --- a/plugins/Dbx_mdbx/src/dbcontacts.cpp +++ b/plugins/Dbx_mdbx/src/dbcontacts.cpp @@ -41,7 +41,7 @@ LONG CDbxMDBX::DeleteContact(MCONTACT contactID) if (contactID == 0) // global contact cannot be removed
return 1;
- NotifyEventHooks(g_hevEventDeleted, contactID, 0);
+ NotifyEventHooks(g_hevContactDeleted, contactID, 0);
{
OBJLIST<EventItem> events(50);
GatherContactHistory(contactID, events);
@@ -102,7 +102,7 @@ MCONTACT CDbxMDBX::AddContact() DBFlush();
- NotifyEventHooks(g_hevEventAdded, dwContactId, 0);
+ NotifyEventHooks(g_hevContactAdded, dwContactId, 0);
return dwContactId;
}
diff --git a/plugins/Dbx_mdbx/src/dbintf.cpp b/plugins/Dbx_mdbx/src/dbintf.cpp index e2bb33d12c..17005a3cbb 100644 --- a/plugins/Dbx_mdbx/src/dbintf.cpp +++ b/plugins/Dbx_mdbx/src/dbintf.cpp @@ -57,15 +57,6 @@ CDbxMDBX::~CDbxMDBX() if (m_crypto)
m_crypto->destroy();
- DestroyHookableEvent(g_hevEventDeleted);
- DestroyHookableEvent(g_hevEventAdded);
- DestroyHookableEvent(g_hevSettingChanged);
- DestroyHookableEvent(g_hevMarkedRead);
-
- DestroyHookableEvent(g_hevEventAdded);
- DestroyHookableEvent(g_hevEventDeleted);
- DestroyHookableEvent(g_hevEventFiltered);
-
mir_free(m_tszProfileName);
}
|