From 1cd15bc24f7e8cb87e9a9b96dd05ce62ce58cf0d Mon Sep 17 00:00:00 2001
From: George Hazan <ghazan@miranda.im>
Date: Wed, 7 Mar 2018 21:52:27 +0300
Subject: old C-style code is obsolete now because of MDatabaseCommon existence

---
 plugins/Dbx_mdbx/src/dbintf.cpp | 2 --
 1 file changed, 2 deletions(-)

(limited to 'plugins/Dbx_mdbx')

diff --git a/plugins/Dbx_mdbx/src/dbintf.cpp b/plugins/Dbx_mdbx/src/dbintf.cpp
index 93d6a7db09..e74f266248 100644
--- a/plugins/Dbx_mdbx/src/dbintf.cpp
+++ b/plugins/Dbx_mdbx/src/dbintf.cpp
@@ -30,7 +30,6 @@ CDbxMDBX::CDbxMDBX(const TCHAR *tszFileName, int iMode) :
 	m_maxContactId(0)
 {
 	m_tszProfileName = mir_wstrdup(tszFileName);
-	InitDbInstance(this);
 
 	mdbx_env_create(&m_env);
 	mdbx_env_set_maxdbs(m_env, 10);
@@ -57,7 +56,6 @@ CDbxMDBX::~CDbxMDBX()
 	DestroyHookableEvent(hEventDeletedEvent);
 	DestroyHookableEvent(hEventFilterAddedEvent);
 
-	DestroyDbInstance(this);
 	mir_free(m_tszProfileName);
 }
 
-- 
cgit v1.2.3