From ab191222324256f9332baf0f2bacbd99070deb3f Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 11 Jan 2013 15:30:42 +0000 Subject: db preset removed from mmap also git-svn-id: http://svn.miranda-ng.org/main/trunk@3058 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Db3x_mmap/src/dbsettings.cpp | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'plugins') diff --git a/plugins/Db3x_mmap/src/dbsettings.cpp b/plugins/Db3x_mmap/src/dbsettings.cpp index 71b64c7df1..7b183e05ff 100644 --- a/plugins/Db3x_mmap/src/dbsettings.cpp +++ b/plugins/Db3x_mmap/src/dbsettings.cpp @@ -26,8 +26,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. DWORD GetModuleNameOfs(const char *szName); DBCachedContact* AddToCachedContactList(HANDLE hContact, int index); -int DBPreset_QuerySetting(const char *szModule, const char *szSetting, DBVARIANT *dbv, BOOL isStatic); - DWORD __forceinline GetSettingValueLength(PBYTE pSetting) { if (pSetting[0] & DBVTF_VARIABLELENGTH) @@ -182,19 +180,6 @@ int CDb3Base::GetContactSettingWorker(HANDLE hContact,DBCONTACTGETSETTING *dbcgs NeedBytes(1); } } - #ifndef DB3X_EXPORTS - /**** nullbie: query info from preset **********************/ - if (!hContact && DBPreset_QuerySetting(dbcgs->szModule, dbcgs->szSetting, dbcgs->pValue, isStatic)) { - /**** add to cache **********************/ - if ( dbcgs->pValue->type != DBVT_BLOB ) { - DBVARIANT* pCachedValue = m_cache->GetCachedValuePtr( hContact, szCachedSettingName, 1 ); - if ( pCachedValue != NULL ) - m_cache->SetCachedVariant(dbcgs->pValue,pCachedValue); - } - return 0; - } - #endif - /**** add missing setting to cache **********************/ if ( dbcgs->pValue->type != DBVT_BLOB ) { -- cgit v1.2.3