summaryrefslogtreecommitdiff
path: root/plugins/UserInfoEx
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-06-23 12:32:12 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-06-23 12:32:12 +0000
commit8788bb35e10ef5403a08388d33ed4ab2ff7d67df (patch)
treeb79e5efbfb02418b1276442a59e7722252cf39c8 /plugins/UserInfoEx
parent05ccb4dcd0b507fb000426667ed3f25c0b93db2b (diff)
new helper applied instead of MS_DB_SETSETTINGRESIDENT
git-svn-id: http://svn.miranda-ng.org/main/trunk@5094 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/UserInfoEx')
-rw-r--r--plugins/UserInfoEx/src/mir_db.cpp13
-rw-r--r--plugins/UserInfoEx/src/mir_db.h1
2 files changed, 0 insertions, 14 deletions
diff --git a/plugins/UserInfoEx/src/mir_db.cpp b/plugins/UserInfoEx/src/mir_db.cpp
index c41df9076b..4dd9298a0b 100644
--- a/plugins/UserInfoEx/src/mir_db.cpp
+++ b/plugins/UserInfoEx/src/mir_db.cpp
@@ -809,19 +809,6 @@ void DeleteArray(HANDLE hContact, LPCSTR pszModule, LPCSTR pszFormat, int iStart
while (!DB::Setting::Delete(hContact, pszModule, pszSetting));
}
-/**
- * This function can prevent a setting from being stored to database permanently.
- * @param pszSetting - the setting to read
- * @param enabled - if set to 'true' the setting will not be stored in database
- *
- * @retval 0 - success
- * @retval 1 - failure
- **/
-BYTE Resident(LPCSTR pszSetting, const bool enabled)
-{
- return CallService(MS_DB_SETSETTINGRESIDENT, (WPARAM) enabled, (LPARAM) pszSetting) != 0;
-}
-
} /* namespace Setting */
namespace Variant {
diff --git a/plugins/UserInfoEx/src/mir_db.h b/plugins/UserInfoEx/src/mir_db.h
index 5bc5504374..0eaa774687 100644
--- a/plugins/UserInfoEx/src/mir_db.h
+++ b/plugins/UserInfoEx/src/mir_db.h
@@ -171,7 +171,6 @@ namespace Setting {
BYTE Exists (HANDLE hContact, LPCSTR pszModule, LPCSTR pszSetting);
BYTE Delete (HANDLE hContact, LPCSTR pszModule, LPCSTR pszSetting);
void DeleteArray (HANDLE hContact, LPCSTR pszModule, LPCSTR pszFormat, int iStart);
- BYTE Resident (LPCSTR pszSetting, const bool enabled);
} /* namespace Setting */