diff options
author | George Hazan <george.hazan@gmail.com> | 2013-06-23 12:32:12 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-06-23 12:32:12 +0000 |
commit | 8788bb35e10ef5403a08388d33ed4ab2ff7d67df (patch) | |
tree | b79e5efbfb02418b1276442a59e7722252cf39c8 /plugins/UserInfoEx/src/mir_db.cpp | |
parent | 05ccb4dcd0b507fb000426667ed3f25c0b93db2b (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/src/mir_db.cpp')
-rw-r--r-- | plugins/UserInfoEx/src/mir_db.cpp | 13 |
1 files changed, 0 insertions, 13 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 {
|