summaryrefslogtreecommitdiff
path: root/plugins/HistoryPlusPlus/CustomizeToolbar.pas
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-09-13 17:11:58 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-09-13 17:11:58 +0000
commitf51995e13679a37851baef8e7f52f2d993cbc7c1 (patch)
tree25ccd03cf2dc4b897cc0dc6fcbe4cc78ddb122c7 /plugins/HistoryPlusPlus/CustomizeToolbar.pas
parentfe1e8456d2488095f409a4f2d38b7251abdedccf (diff)
mode old database junk to die
git-svn-id: http://svn.miranda-ng.org/main/trunk@17291 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/HistoryPlusPlus/CustomizeToolbar.pas')
-rw-r--r--plugins/HistoryPlusPlus/CustomizeToolbar.pas4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/HistoryPlusPlus/CustomizeToolbar.pas b/plugins/HistoryPlusPlus/CustomizeToolbar.pas
index 3294a99d32..24bea5ae1e 100644
--- a/plugins/HistoryPlusPlus/CustomizeToolbar.pas
+++ b/plugins/HistoryPlusPlus/CustomizeToolbar.pas
@@ -335,7 +335,7 @@ begin
if ToolbarStr = '' then
ToolbarStr := DEF_HISTORY_TOOLBAR;
if ToolbarStr = DEF_HISTORY_TOOLBAR then
- DBDeleteContactSetting(0, hppDBName, 'HistoryToolbar')
+ db_unset(0, hppDBName, 'HistoryToolbar')
else
WriteDBStr(hppDBName, 'HistoryToolbar', ToolbarStr);
end;
@@ -557,7 +557,7 @@ end;
procedure TfmCustomizeToolbar.bnResetClick(Sender: TObject);
begin
- DBDeleteContactSetting(0, hppDBName, 'HistoryToolbar');
+ db_unset(0, hppDBName, 'HistoryToolbar');
NotifyAllForms(HM_NOTF_TOOLBARCHANGED, 0, 0);
FillButtons;
UpdateControlButtons;