diff options
author | George Hazan <george.hazan@gmail.com> | 2013-01-11 15:30:42 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-01-11 15:30:42 +0000 |
commit | ab191222324256f9332baf0f2bacbd99070deb3f (patch) | |
tree | cc51a4a8ce31a97bfb04950ed990d28efb7128ad /plugins/Db3x_mmap/src/dbsettings.cpp | |
parent | 4f9f118ed6d053f4bdb530e7412a9229df3d10c4 (diff) |
db preset removed from mmap also
git-svn-id: http://svn.miranda-ng.org/main/trunk@3058 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Db3x_mmap/src/dbsettings.cpp')
-rw-r--r-- | plugins/Db3x_mmap/src/dbsettings.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
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 )
{
|