From a43d5bcb1e0bdafb0193662168976aac989ed922 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 9 Feb 2022 17:40:09 +0300 Subject: db_is_module_empty & db_copy_module - new database helpers --- plugins/UserInfoEx/src/psp_options.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/UserInfoEx/src/psp_options.cpp') diff --git a/plugins/UserInfoEx/src/psp_options.cpp b/plugins/UserInfoEx/src/psp_options.cpp index dac4bbee06..26838261ec 100644 --- a/plugins/UserInfoEx/src/psp_options.cpp +++ b/plugins/UserInfoEx/src/psp_options.cpp @@ -419,8 +419,8 @@ static INT_PTR CALLBACK DlgProc_AdvancedOpts(HWND hDlg, UINT uMsg, WPARAM wParam db_unset(0, "SkinIcons", s); // delete global settings - DB::Module::Delete(NULL, USERINFO"Ex"); - DB::Module::Delete(NULL, USERINFO"ExW"); + db_delete_module(NULL, USERINFO"Ex"); + db_delete_module(NULL, USERINFO"ExW"); // delete old contactsettings for (auto &hContact : Contacts()) { @@ -434,8 +434,8 @@ static INT_PTR CALLBACK DlgProc_AdvancedOpts(HWND hDlg, UINT uMsg, WPARAM wParam db_unset(hContact, USERINFO, "RemindDaysErlier"); db_unset(hContact, USERINFO, "vCardPath"); - DB::Module::Delete(hContact, USERINFO"Ex"); - DB::Module::Delete(hContact, USERINFO"ExW"); + db_delete_module(hContact, USERINFO"Ex"); + db_delete_module(hContact, USERINFO"ExW"); } SendMessage(GetParent(hDlg), PSM_FORCECHANGED, NULL, NULL); -- cgit v1.2.3